README revision 1.10.2.1 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.5 kleink Here is a recipe for acquiring, building, installing, and testing the
14 1.5 kleink tz distribution on a GNU/Linux or similar host.
15 1.5 kleink
16 1.10.2.1 pgoyette To acquire the distribution, run the following shell commands:
17 1.10.2.1 pgoyette
18 1.5 kleink mkdir tz
19 1.5 kleink cd tz
20 1.7 christos wget --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz'
21 1.7 christos gzip -dc tzcode-latest.tar.gz | tar -xf -
22 1.7 christos gzip -dc tzdata-latest.tar.gz | tar -xf -
23 1.5 kleink
24 1.10.2.1 pgoyette Alternatively, the following shell commands acquire the same
25 1.10.2.1 pgoyette distribution, with extra data useful for regression testing:
26 1.10.2.1 pgoyette
27 1.10.2.1 pgoyette wget --retr-symlinks 'ftp://ftp.iana.org/tz/tzdb-latest.tar.lz'
28 1.10.2.1 pgoyette lzip -dc tzdb-latest.tar.lz | tar -xf -
29 1.10.2.1 pgoyette
30 1.5 kleink Be sure to read the comments in "Makefile" and make any changes needed
31 1.5 kleink to make things right for your system, especially if you are using some
32 1.5 kleink platform other than GNU/Linux. Then run the following commands,
33 1.5 kleink substituting your desired installation directory for "$HOME/tzdir":
34 1.5 kleink
35 1.5 kleink make TOPDIR=$HOME/tzdir install
36 1.5 kleink $HOME/tzdir/etc/zdump -v America/Los_Angeles
37 1.4 jtc
38 1.6 mlelstv Historical local time information has been included here to:
39 1.6 mlelstv
40 1.6 mlelstv * provide a compendium of data about the history of civil time
41 1.9 christos that is useful even if not 100% accurate;
42 1.4 jtc
43 1.4 jtc * give an idea of the variety of local time rules that have
44 1.4 jtc existed in the past and thus an idea of the variety that may be
45 1.4 jtc expected in the future;
46 1.4 jtc
47 1.4 jtc * provide a test of the generality of the local time rule description
48 1.4 jtc system.
49 1.4 jtc
50 1.4 jtc The information in the time zone data files is by no means authoritative;
51 1.9 christos fixes and enhancements are welcome. Please see the file CONTRIBUTING
52 1.9 christos for details.
53 1.4 jtc
54 1.9 christos Thanks to these Time Zone Caballeros who've made major contributions to the
55 1.9 christos time conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
56 1.4 jtc Guy Harris; Mark Horton; John Mackin; and Bradley White. Thanks also to
57 1.4 jtc Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
58 1.4 jtc for testing work, and to Gwillim Law for checking local mean time data.
59 1.8 christos Thanks in particular to Arthur David Olson, the project's founder and first
60 1.9 christos maintainer, to whom the time zone community owes the greatest debt of all.
61 1.4 jtc None of them are responsible for remaining errors.
62 1.4 jtc
63 1.8 christos Look in <ftp://ftp.iana.org/tz/releases/> for updated versions of these files.
64 1.4 jtc
65 1.7 christos Please send comments or information to tz (a] iana.org.
66 1.10 christos
67 1.10 christos -----
68 1.10 christos
69 1.10 christos This file is in the public domain, so clarified as of 2009-05-17 by
70 1.10 christos Arthur David Olson. The other files in this distribution are either
71 1.10 christos public domain or BSD licensed; see the file LICENSE for details.
72