NetBSD/lib/libc/time
christos 8a3a1ac9a9 zero out the tzh structure to fix reproducibile builds. 2022-01-01 21:01:21 +00:00
..
CONTRIBUTING Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
LICENSE
Makefile Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
Makefile.inc
NEWS Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
README
SECURITY Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
Theory
asctime.c
calendars
checktab.awk
ctime.3
difftime.c Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
getdate.3
getdate.c
leapseconds.awk
localtime.c PR/56538: coypu: For compat ctime and friends (when time_t was 32 bits) 2021-12-05 18:06:24 +00:00
offtime.3
private.h Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
strftime.3
strftime.c Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
strptime.3
strptime.c
theory.html Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
time2posix.3
tz-art.html Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
tz-how-to.html
tz-link.html Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
tzcode2netbsd
tzfile.5 Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
tzselect.8
tzselect.ksh
tzset.3
version Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
zdump.8 Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
zdump.c Fix build failure 2021-10-22 16:57:14 +00:00
zic.8 Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
zic.c zero out the tzh structure to fix reproducibile builds. 2022-01-01 21:01:21 +00:00

README

README for the tz distribution

"Where do I set the hands of the clock?" -- Les Tremayne as The King
"Oh that--you can set them any place you want." -- Frank Baxter as The Scientist
					(from the Bell System film "About Time")

The Time Zone Database (called tz, tzdb 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.html 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/usr/bin/zdump -v America/Los_Angeles

See the file tz-how-to.html for examples of how to read the data files.

This database of historical local time information has several goals:

 * 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 may be expected in the future.

 * Test 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.