NetBSD/lib/libc/time
ginsbach 8f3f249e43 The military/nautical time zones were added following RFC 822 and RFC
2822 specifications.  Unfortunately they are specified incorrectly in
RFC-822 and not very clearly in RFC 2822. RFC 1123 clearly states they
are specified incorrectly - counting the wrong way from UTC - in RFC
822.  RFC 2822 just states they were implemented in a non-standard way.
Mea culpa for not noticing when originally implemented.  Fix them so
the correct calculations are made.
2017-08-24 01:01:09 +00:00
..
CONTRIBUTING merge 2017a 2017-03-11 18:23:14 +00:00
LICENSE tzcode2016i 2016-11-04 19:41:53 +00:00
Makefile merge 2017a 2017-03-11 18:23:14 +00:00
Makefile.inc
NEWS merge tzcode2017b. 2017-04-25 13:19:44 +00:00
README merge 2017a 2017-03-11 18:23:14 +00:00
Theory merge 2017a 2017-03-11 18:23:14 +00:00
asctime.c merge 2017a 2017-03-11 18:23:14 +00:00
checktab.awk
ctime.3 Fix asctime_r prototype. 2016-12-29 21:03:51 +00:00
difftime.c add constcond 2017-01-10 17:44:51 +00:00
getdate.3
getdate.c
leapseconds.awk
localtime.c Turns out that the previous fix is incorrect, we were not doing ++hit 2017-05-10 10:34:30 +00:00
offtime.3
private.h merge 2017a 2017-03-11 18:23:14 +00:00
strftime.3 merge 2017a 2017-03-11 18:23:14 +00:00
strftime.c merge 2017a 2017-03-11 18:23:14 +00:00
strptime.3 As per the IEEE 1003.1-2008 standard, the range of values for the %S 2016-12-25 06:37:50 +00:00
strptime.c The military/nautical time zones were added following RFC 822 and RFC 2017-08-24 01:01:09 +00:00
time2posix.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
tz-art.htm merge 2017a 2017-03-11 18:23:14 +00:00
tz-how-to.html merge tzcode2016g 2016-10-07 15:29:42 +00:00
tz-link.htm merge tzcode2017b. 2017-04-25 13:19:44 +00:00
tzcode2netbsd
tzfile.5 merge tzcode2016g 2016-10-07 15:29:42 +00:00
tzselect.8
tzselect.ksh Sync with 2016b 2016-03-15 15:16:01 +00:00
tzset.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
version merge tzcode2017b. 2017-04-25 13:19:44 +00:00
zdump.8 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
zdump.c merge 2017a 2017-03-11 18:23:14 +00:00
zic.8
zic.c merge 2017a 2017-03-11 18:23:14 +00:00

README

README for the tz distribution

"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 Time Zone Database (often called tz or zoneinfo) contains code and
data that represent the history of local time for many representative
locations around the globe.  It is updated periodically to reflect
changes made by political bodies to time zone boundaries, UTC offsets,
and daylight-saving rules.

See <https://www.iana.org/time-zones/repository/tz-link.html> or the
file tz-link.htm for how to acquire the code and data.  Once acquired,
read the comments in the file '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

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 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;
fixes and enhancements are welcome.  Please see the file CONTRIBUTING
for details.

Thanks to these Time Zone 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.
Thanks in particular to Arthur David Olson, the project's founder and first
maintainer, to whom the time zone community owes the greatest debt of all.
None of them are responsible for remaining errors.

-----

This file is in the public domain, so clarified as of 2009-05-17 by
Arthur David Olson.  The other files in this distribution are either
public domain or BSD licensed; see the file LICENSE for details.