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