Improvements to timezone import interface

This commit is contained in:
moodler 2005-04-10 09:31:58 +00:00
parent c9e55a2583
commit a1e93da26c
5 changed files with 113 additions and 168 deletions

View file

@ -1,7 +1,7 @@
<?php //$Id$
/***
*** olson_todst ($filename)
*** olson_to_timezones ($filename)
***
*** Parses the olson files for Zones and DST rules.
*** It updates the Moodle database with the Zones/DST rules
@ -9,7 +9,7 @@
*** Returns true/false
***
*/
function olson_todst ($filename) {
function olson_to_timezones ($filename) {
$zones = olson_simple_zone_parser($filename);
$rules = olson_simple_rule_parser($filename);
@ -627,4 +627,4 @@ function olson_parse_at ($at, $set = 'set', $gmtoffset) {
}
?>
?>