MDL-27966 timezones - updated to 2011g version + fix minor notice
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user