README revision 1.5 1 1.5 kleink @(#)README 7.11
2 1.4 jtc
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.4 jtc The 1989 update of the time zone package featured
8 1.4 jtc
9 1.4 jtc * POSIXization (including interpretation of POSIX-style TZ environment
10 1.4 jtc variables, provided by Guy Harris),
11 1.4 jtc * ANSIfication (including versions of "mktime" and "difftime"),
12 1.4 jtc * SVIDulation (an "altzone" variable)
13 1.4 jtc * MACHination (the "gtime" function)
14 1.4 jtc * corrections to some time zone data (including corrections to the rules
15 1.4 jtc for Great Britain and New Zealand)
16 1.4 jtc * reference data from the United States Naval Observatory for folks who
17 1.4 jtc want to do additional time zones
18 1.4 jtc * and the 1989 data for Saudi Arabia.
19 1.4 jtc
20 1.4 jtc (Since this code will be treated as "part of the implementation" in some places
21 1.4 jtc and as "part of the application" in others, there's no good way to name
22 1.4 jtc functions, such as timegm, that are not part of the proposed ANSI C standard;
23 1.4 jtc such functions have kept their old, underscore-free names in this update.)
24 1.4 jtc
25 1.4 jtc And the "dysize" function has disappeared; it was present to allow compilation
26 1.4 jtc of the "date" command on old BSD systems, and a version of "date" is now
27 1.4 jtc provided in the package. The "date" command is not created when you "make all"
28 1.4 jtc since it may lack options provided by the version distributed with your
29 1.4 jtc operating system, or may not interact with the system in the same way the
30 1.4 jtc native version does.
31 1.4 jtc
32 1.4 jtc Since POSIX frowns on correct leap second handling, the default behavior of
33 1.4 jtc the "zic" command (in the absence of a "-L" option) has been changed to omit
34 1.4 jtc leap second information from its output files.
35 1.4 jtc
36 1.5 kleink Here is a recipe for acquiring, building, installing, and testing the
37 1.5 kleink tz distribution on a GNU/Linux or similar host.
38 1.5 kleink
39 1.5 kleink mkdir tz
40 1.5 kleink cd tz
41 1.5 kleink wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
42 1.5 kleink gzip -dc tzcode*.tar.gz | tar -xf -
43 1.5 kleink gzip -dc tzdata*.tar.gz | tar -xf -
44 1.5 kleink
45 1.5 kleink Be sure to read the comments in "Makefile" and make any changes needed
46 1.5 kleink to make things right for your system, especially if you are using some
47 1.5 kleink platform other than GNU/Linux. Then run the following commands,
48 1.5 kleink substituting your desired installation directory for "$HOME/tzdir":
49 1.5 kleink
50 1.5 kleink make TOPDIR=$HOME/tzdir install
51 1.5 kleink $HOME/tzdir/etc/zdump -v America/Los_Angeles
52 1.4 jtc
53 1.4 jtc To use the new functions, use a "-ltz" option when compiling or linking.
54 1.4 jtc
55 1.4 jtc Historical local time information has been included here not because it
56 1.4 jtc is particularly useful, but rather to:
57 1.4 jtc
58 1.4 jtc * give an idea of the variety of local time rules that have
59 1.4 jtc existed in the past and thus an idea of the variety that may be
60 1.4 jtc expected in the future;
61 1.4 jtc
62 1.4 jtc * provide a test of the generality of the local time rule description
63 1.4 jtc system.
64 1.4 jtc
65 1.4 jtc The information in the time zone data files is by no means authoritative;
66 1.4 jtc if you know that the rules are different from those in a file, by all means
67 1.4 jtc feel free to change file (and please send the changed version to
68 1.4 jtc tz (a] elsie.nci.nih.gov for use in the future). Europeans take note!
69 1.4 jtc
70 1.4 jtc Thanks to these Timezone Caballeros who've made major contributions to the
71 1.4 jtc time conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
72 1.4 jtc Guy Harris; Mark Horton; John Mackin; and Bradley White. Thanks also to
73 1.4 jtc Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
74 1.4 jtc for testing work, and to Gwillim Law for checking local mean time data.
75 1.4 jtc None of them are responsible for remaining errors.
76 1.4 jtc
77 1.4 jtc Look in the ~ftp/pub directory of elsie.nci.nih.gov
78 1.4 jtc for updated versions of these files.
79 1.4 jtc
80 1.4 jtc Please send comments or information to tz (a] elsie.nci.nih.gov.
81