Tcl Source Code

Update of "How To Import tzdata"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 58aa977809ba7368f0bac50ef84b8286a3440199
Page Name:How To Import tzdata
Date: 2011-04-07 14:56:11
Original User: dgp
Parent: f7bccb2344ee47bf5ddcc10293f9c2e733495985 (diff)
Content

How to import tzdata:

  1. Download the new version of tzdata: (Example: http://elsie.nci.nih.gov/tzdata2011e.tar.gz)
  2. Unpack the tarball in an empty directory. (For compatibility reasons, the tzdata tarball does not have a top-level directory.)
  3. Go to the top directory of a Tcl 8.5 sandbox, and utter the command:
    tclsh8.5 tools/tclZIC.tcl /path/to/unpacked/tzdata library/tzdata
    
    where /path/to/unpacked/tzdata is the path name of the directory you used at step 2.
  4. Review the output for errors (there should be none).
  5. Do fossil extra, and do fossil add for any new locales that have appeared in library/tzdata.
  6. Do fossil status to find out what locales have new data. Write a log message in ChangeLog to describe the import.
  7. fossil commit your changes.
  8. As with any maintenance change, go to a trunk sandbox (or fossil update trunk), and do
    fossil merge core-8-5-branch
    
  9. Resolve the inevitable merge conflict in ChangeLog and commit.
  10. fossil sync and you're done.