Details
-
Type:
Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.6.5, 2.7.2
-
Component/s: Libraries
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Fixed Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Last update was done 5 months ago (to tzdata2014b database, see MDL-45286). Going to update to tzdata2014h.tar.gz
Source: http://www.iana.org/time-zones
Instructions:
The olson.txt to be imported is the concatenation, in one unique file, of these 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 (26, 27 and master).
Ciao