README revision 1.9 1 1.7 christos README for the tz distribution
2 1.7 christos
3 1.4 jtc "What time is it?" -- Richard Deacon as The King
4 1.4 jtc "Any time you want it to be." -- Frank Baxter as The Scientist
5 1.4 jtc (from the Bell System film "About Time")
6 1.4 jtc
7 1.8 christos The Time Zone Database (often called tz or zoneinfo) contains code and
8 1.8 christos data that represent the history of local time for many representative
9 1.8 christos locations around the globe. It is updated periodically to reflect
10 1.8 christos changes made by political bodies to time zone boundaries, UTC offsets,
11 1.8 christos and daylight-saving rules.
12 1.8 christos
13 1.8 christos Unless otherwise specified, all files in the tz code and data are in
14 1.8 christos the public domain, so clarified as of 2009-05-17 by Arthur David Olson.
15 1.8 christos The few exceptions are code derived from BSD, which uses the BSD license.
16 1.4 jtc
17 1.5 kleink Here is a recipe for acquiring, building, installing, and testing the
18 1.5 kleink tz distribution on a GNU/Linux or similar host.
19 1.5 kleink
20 1.5 kleink mkdir tz
21 1.5 kleink cd tz
22 1.7 christos wget --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz'
23 1.7 christos gzip -dc tzcode-latest.tar.gz | tar -xf -
24 1.7 christos gzip -dc tzdata-latest.tar.gz | tar -xf -
25 1.5 kleink
26 1.5 kleink Be sure to read the comments in "Makefile" and make any changes needed
27 1.5 kleink to make things right for your system, especially if you are using some
28 1.5 kleink platform other than GNU/Linux. Then run the following commands,
29 1.5 kleink substituting your desired installation directory for "$HOME/tzdir":
30 1.5 kleink
31 1.5 kleink make TOPDIR=$HOME/tzdir install
32 1.5 kleink $HOME/tzdir/etc/zdump -v America/Los_Angeles
33 1.4 jtc
34 1.6 mlelstv Historical local time information has been included here to:
35 1.6 mlelstv
36 1.6 mlelstv * provide a compendium of data about the history of civil time
37 1.9 christos that is useful even if not 100% accurate;
38 1.4 jtc
39 1.4 jtc * give an idea of the variety of local time rules that have
40 1.4 jtc existed in the past and thus an idea of the variety that may be
41 1.4 jtc expected in the future;
42 1.4 jtc
43 1.4 jtc * provide a test of the generality of the local time rule description
44 1.4 jtc system.
45 1.4 jtc
46 1.4 jtc The information in the time zone data files is by no means authoritative;
47 1.9 christos fixes and enhancements are welcome. Please see the file CONTRIBUTING
48 1.9 christos for details.
49 1.4 jtc
50 1.9 christos Thanks to these Time Zone Caballeros who've made major contributions to the
51 1.9 christos time conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
52 1.4 jtc Guy Harris; Mark Horton; John Mackin; and Bradley White. Thanks also to
53 1.4 jtc Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
54 1.4 jtc for testing work, and to Gwillim Law for checking local mean time data.
55 1.8 christos Thanks in particular to Arthur David Olson, the project's founder and first
56 1.9 christos maintainer, to whom the time zone community owes the greatest debt of all.
57 1.4 jtc None of them are responsible for remaining errors.
58 1.4 jtc
59 1.8 christos Look in <ftp://ftp.iana.org/tz/releases/> for updated versions of these files.
60 1.4 jtc
61 1.7 christos Please send comments or information to tz (a] iana.org.
62