Skip to content

Commit

Permalink
MDL-27966 timezones - updated to 2011g version + fix minor notice
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jun 21, 2011
1 parent 3552484 commit ea1e738
Show file tree
Hide file tree
Showing 2 changed files with 2,150 additions and 2,112 deletions.
1 change: 1 addition & 0 deletions lib/olson.php
Expand Up @@ -688,6 +688,7 @@ function olson_parse_at ($at, $set = 'set', $gmtoffset) {
$at = substr($at, 0, strlen($at)-1); // chop $at = substr($at, 0, strlen($at)-1); // chop
} }


$at = (strpos($at, ':') === false) ? $at . ':0' : $at;
list($hours, $mins) = explode(':', $at); list($hours, $mins) = explode(':', $at);


// GMT -- return as is! // GMT -- return as is!
Expand Down

0 comments on commit ea1e738

Please sign in to comment.