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