NetBSD/lib/libc/time
kre 7cbdd94285 Turns out that the previous fix is incorrect, we were not doing ++hit
to change the boolean hit from false to true, but to change it from 1 to 2
which in a sense should have been obvious from the context:
	if (hit)
		/* more tests */
			++hit;
The real problem was that hit was (in the imported tzcode) incorrectly
changed from int to bool in a previous update.

Not that it matters, this code is never actually executed - it was there
to deal with the mythical double leapseconds, which simply never exist
(hit counted the number of leapseconds in an adjustment) and it will all
be gone in the next tzcode update.

For now, just turn hit back into an int, which should satisfy gcc 8,
I hope.
2017-05-10 10:34:30 +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
time2posix.3
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
tzset.3 merge tzcode2016g 2016-10-07 15:29:42 +00:00
version merge tzcode2017b. 2017-04-25 13:19:44 +00:00
zdump.8 merge 2017a 2017-03-11 18:23:14 +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.