Нет описания

Arthur David Olson 973ebcd759 resynchronization comment 15 лет назад
Makefile 9846f4d541 goose GCC_DEBUG_FLAGS 14 лет назад
README 72921383f0 public domain 14 лет назад
TESTS ef46c5c06e SCCS-file: TESTS 14 лет назад
Theory 5885b37621 scope of database 14 лет назад
africa 7bf85c80a6 Egypt abandons DST 14 лет назад
antarctica 4ec11c378b zap unused RussAQ rules 14 лет назад
asctime.c 8399649d38 optimization 14 лет назад
asia a36b5aafd8 RussiaAsia note 14 лет назад
australasia 297aae618f change 2011 end of DST in Samoa 14 лет назад
backward 52b918370f Truk -> Chuuk, Ponape -> Pohnpei 14 лет назад
checktab.awk cc0382de51 user@machine eliminated 14 лет назад
date.1 8fd12bab6b public domain 14 лет назад
date.c e2d04a6625 change comptm to savetm to avoid possible overflow 14 лет назад
difftime.c 6b19e8d7a0 user@machine eliminated 14 лет назад
etcetera a53d3ec6df eliminate obsolete material on angle brackets 14 лет назад
europe 53f3162fc8 Russia abandons DST 14 лет назад
factory b82a081042 public domain notice 14 лет назад
gccdiffs b95b10d897 SCCS ID 14 лет назад
glibc-pre2.0.c ecadf14ac1 compilation work 14 лет назад
glibc1091.c 2b4c7e904b compilable without balance of gnu gunk 14 лет назад
hr435 934b854f3c convert dates 14 лет назад
ialloc.c f5aba3674d public domain notice 14 лет назад
iso3166.tab 973ebcd759 resynchronization comment 14 лет назад
itca.jpg fae0289a16 created 14 лет назад
leapseconds c6c159429c no leap seconds at end of June 2011 14 лет назад
localtime.c e4d0d496f0 avoid gcc overflow warnings 14 лет назад
logwtmp.c 43a6871338 logwtmp.c goes 14 лет назад
newctime.3 0c98b26d8e public domain 14 лет назад
newstrftime.3 229037019b public domain 14 лет назад
newtzset.3 d5b890fc48 public domain 14 лет назад
northamerica 338ff27740 change start of DST in Cuba in 2011 14 лет назад
pacificnew 29450313c8 public domain notice 14 лет назад
posix 12ebf50d8c created 14 лет назад
private.h 69ef9e0816 HAVE_STRERROR goes 14 лет назад
scheck.c a98c7060a3 disclaimers 14 лет назад
solar87 a8e622f68d public domain notice 14 лет назад
solar88 1560c746e3 public domain notice 14 лет назад
solar89 afcfca68ac public domain notice 14 лет назад
southamerica 66acd4d3f6 Netherlands Antilles breaks up 14 лет назад
strftime.c 2ccec13562 c format warning fix 14 лет назад
systemv 2060bf5eec public domain notice 14 лет назад
time2posix.3 c26e29c945 user@machine eliminated 14 лет назад
tz-art.htm 38a2bc3d48 Outsourced note 14 лет назад
tz-link.htm 089a367a5f Time Zone Master Basic 14 лет назад
tzfile.5 6a9f077198 typo fix 14 лет назад
tzfile.h 1ab18b876f 64-bit version 14 лет назад
tzselect.8 dc066bdc8e public domain 14 лет назад
tzselect.ksh a2563cea80 --help and --version work 14 лет назад
usno1988 6561a54899 convert dates 14 лет назад
usno1989 6f6baf8b60 convert dates 14 лет назад
usno1989a 8caa2511a1 electronic mail addresses purged 14 лет назад
usno1995 cb13010e16 electronic mail addresses purged 14 лет назад
usno1997 db7b7dfd6a electronic mail addresses purged 14 лет назад
usno1998 33796bf2d5 electronic mail addresses purged 14 лет назад
usno2004 346c5896ab electronic mail address purged 14 лет назад
workman.sh 9a127d706c public domain 14 лет назад
yearistype.sh 89431665df disclaimers 14 лет назад
zdump.8 25766f54c3 public domain 14 лет назад
zdump.c 9141e8082d usage function cleanup 14 лет назад
zic.8 d7603d4635 disclaimer 14 лет назад
zic.c be2bd16830 squelch gcc warning 14 лет назад
zone.tab 433f99e2d9 Netherlands Antilles breaks up 14 лет назад
zoneinfo2tdf.pl 51385ad4f9 Pizzini patch; head work 14 лет назад

README

%W%
This file is in the public domain, so clarified as of
2009-05-17 by Arthur David Olson.

"What time is it?" -- Richard Deacon as The King
"Any time you want it to be." -- Frank Baxter as The Scientist
(from the Bell System film "About Time")

The 1989 update of the time zone package featured

* POSIXization (including interpretation of POSIX-style TZ environment
variables, provided by Guy Harris),
* ANSIfication (including versions of "mktime" and "difftime"),
* SVIDulation (an "altzone" variable)
* MACHination (the "gtime" function)
* corrections to some time zone data (including corrections to the rules
for Great Britain and New Zealand)
* reference data from the United States Naval Observatory for folks who
want to do additional time zones
* and the 1989 data for Saudi Arabia.

(Since this code will be treated as "part of the implementation" in some places
and as "part of the application" in others, there's no good way to name
functions, such as timegm, that are not part of the proposed ANSI C standard;
such functions have kept their old, underscore-free names in this update.)

And the "dysize" function has disappeared; it was present to allow compilation
of the "date" command on old BSD systems, and a version of "date" is now
provided in the package. The "date" command is not created when you "make all"
since it may lack options provided by the version distributed with your
operating system, or may not interact with the system in the same way the
native version does.

Since POSIX frowns on correct leap second handling, the default behavior of
the "zic" command (in the absence of a "-L" option) has been changed to omit
leap second information from its output files.

Here is a recipe for acquiring, building, installing, and testing the
tz distribution on a GNU/Linux or similar host.

mkdir tz
cd tz
wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
gzip -dc tzcode*.tar.gz | tar -xf -
gzip -dc tzdata*.tar.gz | tar -xf -

Be sure to read the comments in "Makefile" and make any changes needed
to make things right for your system, especially if you are using some
platform other than GNU/Linux. Then run the following commands,
substituting your desired installation directory for "$HOME/tzdir":

make TOPDIR=$HOME/tzdir install
$HOME/tzdir/etc/zdump -v America/Los_Angeles

To use the new functions, use a "-ltz" option when compiling or linking.

Historical local time information has been included here to:

* provide a compendium of data about the history of civil time
that is useful even if the data are not 100% accurate;

* give an idea of the variety of local time rules that have
existed in the past and thus an idea of the variety that may be
expected in the future;

* provide a test of the generality of the local time rule description
system.

The information in the time zone data files is by no means authoritative;
the files currently do not even attempt to cover all time stamps before
1970, and there are undoubtedly errors even for time stamps since 1970.
If you know that the rules are different from those in a file, by all means
feel free to change file (and please send the changed version to
tz@elsie.nci.nih.gov for use in the future). Europeans take note!

Thanks to these Timezone Caballeros who've made major contributions to the
time conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
Guy Harris; Mark Horton; John Mackin; and Bradley White. Thanks also to
Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
for testing work, and to Gwillim Law for checking local mean time data.
None of them are responsible for remaining errors.

Look in the ~ftp/pub directory of elsie.nci.nih.gov
for updated versions of these files.

Please send comments or information to tz@elsie.nci.nih.gov.