NetBSD/lib/libc/time
christos cfc8dcb49a Merge 2018e
Changes to code

    zic now accepts subsecond precision in expressions like
    00:19:32.13, which is approximately the legal time of the
    Netherlands from 1835 to 1937.  However, because it is
    questionable whether the few recorded uses of non-integer offsets
    had subsecond precision in practice, there are no plans for tzdata
    to use this feature.  (Thanks to Steve Allen for pointing out
    the limitations of historical data in this area.)

    The code is a bit more portable to MS-Windows.  Installers can
    compile with -DRESERVE_STD_EXT_IDS on MS-Windows platforms that
    reserve identifiers like 'localtime'.  (Thanks to Manuela
    Friedrich).

  Changes to documentation and commentary

    theory.html now outlines tzdb's extensions to POSIX's model for
    civil time, and has a section "POSIX features no longer needed"
    that lists POSIX API components that are now vestigial.
    (From suggestions by Steve Summit.)  It also better distinguishes
    time zones from tz regions.  (From a suggestion by Guy Harris.)

    Commentary is now more consistent about using the phrase "daylight
    saving time", to match the C name tm_isdst.  Daylight saving time
    need not occur in summer, and need not have a positive offset from
    standard time.

    Commentary about historical transitions in Uruguay has been expanded
    with links to many relevant legal documents.
    (Thanks to Tim Parenti.)

    Commentary now uses some non-ASCII characters with Unicode value
    less than U+0100, as they can be useful and should work even with
    older editors such as XEmacs.
2018-05-04 15:51:00 +00:00
..
CONTRIBUTING Merge 2018e 2018-05-04 15:51:00 +00:00
LICENSE Welcome to 2017c: 2017-10-24 17:38:17 +00:00
Makefile Merge 2018e 2018-05-04 15:51:00 +00:00
Makefile.inc
NEWS Merge 2018e 2018-05-04 15:51:00 +00:00
README Merge tzcode2018c [ changelog with changes to tzdata sections removed ] 2018-01-25 22:48:42 +00:00
Theory merge 2017a 2017-03-11 18:23:14 +00:00
asctime.c Merge 2018e 2018-05-04 15:51:00 +00:00
calendars Welcome to 2017c: 2017-10-24 17:38:17 +00:00
checktab.awk
ctime.3 Merge 2018e 2018-05-04 15:51:00 +00:00
difftime.c Welcome to 2017c: 2017-10-24 17:38:17 +00:00
getdate.3 Remove useless macro. 2018-02-11 13:28:49 +00:00
getdate.c Add bunch of missing includes of namespace.h in libc 2018-01-04 20:57:28 +00:00
leapseconds.awk
localtime.c Merge 2018e 2018-05-04 15:51:00 +00:00
offtime.3 Add offtime_r to the NAME section 2017-10-25 19:01:25 +00:00
private.h Merge 2018e 2018-05-04 15:51:00 +00:00
strftime.3 merge 2017a 2017-03-11 18:23:14 +00:00
strftime.c Merge 2018e 2018-05-04 15:51:00 +00:00
strptime.3 Minor typo: Coordinated Universal time should be Coordinated Universal Time 2017-10-27 04:05:21 +00:00
strptime.c The military/nautical time zones were added following RFC 822 and RFC 2017-08-24 01:01:09 +00:00
theory.html Merge 2018e 2018-05-04 15:51:00 +00:00
time2posix.3 Fix the escape used for em dash 2017-10-29 06:07:48 +00:00
tz-art.html Merge 2018e 2018-05-04 15:51:00 +00:00
tz-how-to.html Merge tzcode2018c [ changelog with changes to tzdata sections removed ] 2018-01-25 22:48:42 +00:00
tz-link.html Merge 2018e 2018-05-04 15:51:00 +00:00
tzcode2netbsd
tzfile.5 Welcome to 2017c: 2017-10-24 17:38:17 +00:00
tzselect.8 Merge tzcode2018c [ changelog with changes to tzdata sections removed ] 2018-01-25 22:48:42 +00:00
tzselect.ksh Merge tzcode2018c [ changelog with changes to tzdata sections removed ] 2018-01-25 22:48:42 +00:00
tzset.3 Merge 2018e 2018-05-04 15:51:00 +00:00
version Merge 2018e 2018-05-04 15:51:00 +00:00
zdump.8 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
zdump.c Merge 2018e 2018-05-04 15:51:00 +00:00
zic.8 Merge 2018e 2018-05-04 15:51:00 +00:00
zic.c Merge 2018e 2018-05-04 15:51:00 +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.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

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.