README revision 1.6
11.6Smlelstv@(#)README 8.3 21.6SmlelstvThis file is in the public domain, so clarified as of 31.6Smlelstv2009-05-17 by Arthur David Olson. 41.4Sjtc 51.4Sjtc"What time is it?" -- Richard Deacon as The King 61.4Sjtc"Any time you want it to be." -- Frank Baxter as The Scientist 71.4Sjtc (from the Bell System film "About Time") 81.4Sjtc 91.4SjtcThe 1989 update of the time zone package featured 101.4Sjtc 111.4Sjtc* POSIXization (including interpretation of POSIX-style TZ environment 121.4Sjtc variables, provided by Guy Harris), 131.4Sjtc* ANSIfication (including versions of "mktime" and "difftime"), 141.4Sjtc* SVIDulation (an "altzone" variable) 151.4Sjtc* MACHination (the "gtime" function) 161.4Sjtc* corrections to some time zone data (including corrections to the rules 171.4Sjtc for Great Britain and New Zealand) 181.4Sjtc* reference data from the United States Naval Observatory for folks who 191.4Sjtc want to do additional time zones 201.4Sjtc* and the 1989 data for Saudi Arabia. 211.4Sjtc 221.4Sjtc(Since this code will be treated as "part of the implementation" in some places 231.4Sjtcand as "part of the application" in others, there's no good way to name 241.4Sjtcfunctions, such as timegm, that are not part of the proposed ANSI C standard; 251.4Sjtcsuch functions have kept their old, underscore-free names in this update.) 261.4Sjtc 271.4SjtcAnd the "dysize" function has disappeared; it was present to allow compilation 281.4Sjtcof the "date" command on old BSD systems, and a version of "date" is now 291.4Sjtcprovided in the package. The "date" command is not created when you "make all" 301.4Sjtcsince it may lack options provided by the version distributed with your 311.4Sjtcoperating system, or may not interact with the system in the same way the 321.4Sjtcnative version does. 331.4Sjtc 341.4SjtcSince POSIX frowns on correct leap second handling, the default behavior of 351.4Sjtcthe "zic" command (in the absence of a "-L" option) has been changed to omit 361.4Sjtcleap second information from its output files. 371.4Sjtc 381.5SkleinkHere is a recipe for acquiring, building, installing, and testing the 391.5Skleinktz distribution on a GNU/Linux or similar host. 401.5Skleink 411.5Skleink mkdir tz 421.5Skleink cd tz 431.5Skleink wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz' 441.5Skleink gzip -dc tzcode*.tar.gz | tar -xf - 451.5Skleink gzip -dc tzdata*.tar.gz | tar -xf - 461.5Skleink 471.5SkleinkBe sure to read the comments in "Makefile" and make any changes needed 481.5Skleinkto make things right for your system, especially if you are using some 491.5Skleinkplatform other than GNU/Linux. Then run the following commands, 501.5Skleinksubstituting your desired installation directory for "$HOME/tzdir": 511.5Skleink 521.5Skleink make TOPDIR=$HOME/tzdir install 531.5Skleink $HOME/tzdir/etc/zdump -v America/Los_Angeles 541.4Sjtc 551.4SjtcTo use the new functions, use a "-ltz" option when compiling or linking. 561.4Sjtc 571.6SmlelstvHistorical local time information has been included here to: 581.6Smlelstv 591.6Smlelstv* provide a compendium of data about the history of civil time 601.6Smlelstv that is useful even if the data are not 100% accurate; 611.4Sjtc 621.4Sjtc* give an idea of the variety of local time rules that have 631.4Sjtc existed in the past and thus an idea of the variety that may be 641.4Sjtc expected in the future; 651.4Sjtc 661.4Sjtc* provide a test of the generality of the local time rule description 671.4Sjtc system. 681.4Sjtc 691.4SjtcThe information in the time zone data files is by no means authoritative; 701.6Smlelstvthe files currently do not even attempt to cover all time stamps before 711.6Smlelstv1970, and there are undoubtedly errors even for time stamps since 1970. 721.6SmlelstvIf you know that the rules are different from those in a file, by all means 731.4Sjtcfeel free to change file (and please send the changed version to 741.4Sjtctz@elsie.nci.nih.gov for use in the future). Europeans take note! 751.4Sjtc 761.4SjtcThanks to these Timezone Caballeros who've made major contributions to the 771.4Sjtctime conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz; 781.4SjtcGuy Harris; Mark Horton; John Mackin; and Bradley White. Thanks also to 791.4SjtcMichael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales 801.4Sjtcfor testing work, and to Gwillim Law for checking local mean time data. 811.4SjtcNone of them are responsible for remaining errors. 821.4Sjtc 831.4SjtcLook in the ~ftp/pub directory of elsie.nci.nih.gov 841.4Sjtcfor updated versions of these files. 851.4Sjtc 861.4SjtcPlease send comments or information to tz@elsie.nci.nih.gov. 87