Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.6, 2.3.3, 2.4, 2.5
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
Easy
-
Description
Last update was done 10-11 months ago (to tzdata2011n database, see MDL-31329). Going to update to tzdata2012.tar.gz
Source: http://www.iana.org/time-zones
Instructions:
The olson.txt to be imported is the concatenation, in one unique file of this olson files (in this exact order):
africa, antarctica, asia, australasia, europe, northamerica and southamerica
1) Put the olson.txt file into dataroot/temp/olson.txt
2) Go to Admin -> Location -> Update timezones and confirm
3) Data will be loaded, replacing existing one
4) Generate CSV file from phpMyAdmin (commas as field separators, non-quoted values, unix line feeds and first line as field names)
5) Put it into /lib/timezone.txt
6) Commit
Note1: Current timezone.txt format is compatible only with Moodle 1.8 and upwards.
Note2: We'll be spreading this change to all currently supported versions (22, 23, 24 and master).
Ciao