Skip to content
Tcl Source Code Artifact [f7bccb2344]
Login

Artifact [f7bccb2344]

Artifact f7bccb2344ee47bf5ddcc10293f9c2e733495985:

Wiki page [How To Import tzdata] by dgp on 2011-04-07 14:53:24.
D 2011-04-07T14:53:24.509
L How\sTo\sImport\stzdata
P 667edb4e49d1da46f0ca9cbbf76b516d855f4d11
U dgp
W 1146

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

Z 6ec3868757d5356ecbc51bed310c14a2