Moodle

Update timezones info to latest version available

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: 1.8.9, 1.9.5
  • Component/s: Libraries
  • Labels:
    None
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE

Description

Last update was done 9 months ago (to tzdata2008c database). Going to update to tzdata2009c.tar.gz

Source: ftp://elsie.nci.nih.gov/pub/

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

Note: Current timezone.txt format is compatible only with Moodle 1.8 and upwards.

Ciao

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Done. Timezones info from tzdata2009c is now in 18_STABLE, 19_STABLE and HEAD (2068 rules)

Resolving as fixed. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Done. Timezones info from tzdata2009c is now in 18_STABLE, 19_STABLE and HEAD (2068 rules) Resolving as fixed. Ciao
Hide
Tim Hunt added a comment -

Thanks Eloy.

Show
Tim Hunt added a comment - Thanks Eloy.
Hide
Eloy Lafuente (stronk7) added a comment -

Just updated to tzdata2010i in 18_STABLE, 19_STABLE and HEAD (2147 rules)

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Just updated to tzdata2010i in 18_STABLE, 19_STABLE and HEAD (2147 rules) Ciao

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: