Tcl Source Code

How To Import tzdata
Login

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.