README revision 1.8 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.6 mlelstv that is useful even if the data are 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.6 mlelstv the files currently do not even attempt to cover all time stamps before
48 1.6 mlelstv 1970, and there are undoubtedly errors even for time stamps since 1970.
49 1.6 mlelstv If you know that the rules are different from those in a file, by all means
50 1.8 christos feel free to change a file (and please send the changed version to
51 1.7 christos tz (a] iana.org for use in the future). Europeans take note!
52 1.4 jtc
53 1.4 jtc Thanks to these Timezone Caballeros who've made major contributions to the
54 1.4 jtc time conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
55 1.4 jtc Guy Harris; Mark Horton; John Mackin; and Bradley White. Thanks also to
56 1.4 jtc Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
57 1.4 jtc for testing work, and to Gwillim Law for checking local mean time data.
58 1.8 christos Thanks in particular to Arthur David Olson, the project's founder and first
59 1.8 christos maintainer, to whom the timezone community owes the greatest debt of all.
60 1.4 jtc None of them are responsible for remaining errors.
61 1.4 jtc
62 1.8 christos Look in <ftp://ftp.iana.org/tz/releases/> for updated versions of these files.
63 1.4 jtc
64 1.7 christos Please send comments or information to tz (a] iana.org.
65