mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-27966 timezones - updated to 2011g version + fix minor notice
This commit is contained in:
parent
3552484b91
commit
ea1e73843b
2 changed files with 2150 additions and 2112 deletions
|
@ -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!
|
||||||
|
|
4261
lib/timezone.txt
4261
lib/timezone.txt
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue