MDL-27966 timezones - updated to 2011g version + fix minor notice

This commit is contained in:
Eloy Lafuente (stronk7)
2011-06-21 16:25:43 +02:00
parent d395fa4024
commit ed64a00a57
2 changed files with 2150 additions and 2112 deletions
+1
View File
@@ -664,6 +664,7 @@ function olson_parse_at ($at, $set = 'set', $gmtoffset) {
$at = substr($at, 0, strlen($at)-1); // chop
}
$at = (strpos($at, ':') === false) ? $at . ':0' : $at;
list($hours, $mins) = explode(':', $at);
// GMT -- return as is!