• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.indent.proD06-Mar-200525 54

Arts.htmD14-Jan-20126.7 KiB179177

Makefile.incD19-Feb-2014899 2215

READMED14-Jan-20123.4 KiB8162

TheoryD14-Jan-201223 KiB553437

asctime.cD09-Nov-20094.3 KiB13763

ctime.3D08-Aug-20077.6 KiB319318

difftime.cD09-Nov-20091.7 KiB6125

ialloc.cD21-Sep-20051.4 KiB8869

localtime.cD20-Nov-201141.3 KiB1,7331,254

mirtime.3D19-Nov-20114.5 KiB163162

private.hD19-Nov-20117.1 KiB332188

scheck.cD21-Sep-20051.2 KiB6049

strftime.3D08-Aug-20078.1 KiB254253

strftime.cD20-Nov-201119.7 KiB796568

strptime.3D30-May-20096.9 KiB232231

strptime.cD20-Nov-201111.4 KiB492334

tz-art.htmD14-Jan-201211.7 KiB279278

tz-link.htmD14-Jan-201220.8 KiB444443

tzfile.5D05-Feb-20053.8 KiB142141

tzfile.hD22-Sep-20054.9 KiB18080

tzset.3D20-Nov-20115.8 KiB299298

zdump.8D21-Jul-20051.5 KiB6564

zdump.cD08-Nov-200816.4 KiB691572

zic.8D05-Feb-20059.8 KiB398397

zic.cD05-Jul-200752.3 KiB2,3061,957

README

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