Skip to content

Commit

Permalink
Merge branch 'MDL-27966_m20' of git://github.com/stronk7/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_20_STABLE
  • Loading branch information
Sam Hemelryk committed Jun 22, 2011
2 parents 3e6c1d4 + 41c5f54 commit 8445c47
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 8445c47

Please sign in to comment.