diff --git a/tz-link.htm b/tz-link.htm index da9bd10..a650266 100644 --- a/tz-link.htm +++ b/tz-link.htm @@ -9,7 +9,7 @@ - + @@ -23,25 +23,28 @@

Please send corrections to this web page to the -time zone mailing list. -

+time zone mailing list.

The tz database

The public-domain time zone database 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 UTC offsets and daylight-saving rules. +to UTC +offsets and daylight-saving rules. This database (often called tz or zoneinfo) is used by several implementations, including -the GNU C Library used in -GNU/Linux, +the +GNU +C Library used in +GNU/Linux, FreeBSD, NetBSD, OpenBSD, Cygwin, -DJGPP, +DJGPP, HP-UX, IRIX, Mac OS X, @@ -55,24 +58,30 @@ clocks keeping local time have agreed since 1970. Locations are identified by continent or ocean and then by the name of the location, which is typically the largest city within the region. For example, America/New_York -represents most of the US eastern time zone; +represents most of the US eastern time zone; America/Indianapolis represents most of Indiana, which -uses eastern time without daylight saving time (DST); +uses eastern time without daylight saving time (DST); America/Detroit represents most of Michigan, which uses -eastern time but with different DST rules in 1975; +eastern time but with different DST rules in 1975; and other entries represent smaller regions like Starke County, Kentucky, which switched from central to eastern time in 1991. -To use the database, set the TZ environment variable to +To use the database on an extended POSIX +implementation set the TZ environment variable to the location's full name, e.g., TZ="America/New_York".

In the tz database's -FTP distribution, +FTP distribution the code is in the file tzcodeC.tar.gz, where C is the code's version; similarly, the data are in tzdataD.tar.gz, where D is the data's version. The following shell commands download -these files to a GNU/Linux or similar host; see the downloaded +these files to a GNU/Linux or similar host; +see the downloaded README file for what to do next.

wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
 gzip -dc tzcode*.tar.gz | tar -xf -
@@ -92,7 +101,10 @@ mailing list, retrieve the archive of old
 messages (in gzip compressed format), or retrieve archived older versions of code
-and data.

+and data; there is also a smaller HTTP +mirror.

The Web has several other sources for time zone and daylight saving time data. Here are some recent links that may be of interest. @@ -104,7 +116,9 @@ is a text-based point-and-click interface to tables of current time throughout the world.

  • Fancier web interfaces, roughly in ascending order of complexity, include:
  • The World Clock - @@ -116,21 +130,29 @@ is a web interface to a time zone database derived from

    Other tz compilers

    @@ -139,47 +161,57 @@ definition that corresponded to iCalendar.
  • Timezone Converter describes a program Vzic that compiles tz source into iCalendar-compatible VTIMEZONE files. Vzic is freely -available under the GNU -General Public License (GPL). +available under the GNU +General Public License (GPL).
  • DateTime::TimeZone contains a script parse_olson that compiles tz source into Perl modules. It is part of the Perl DateTime Project, which is freely -available under both the GPL and the Perl Artistic +available under both the GPL and the Perl Artistic License. DateTime::TimeZone also contains a script tests_from_zdump that generates test cases for each clock transition in the tz database.
  • -
  • International Components for -Unicode (ICU) contains a C/C++ library for internationalization that -has a compiler from tz source into an ICU-specific format. -ICU is freely available under a BSD-style license.
  • +
  • ICU +contains a C/C++ library for internationalization that +has a compiler from tz source +into an ICU-specific format. +ICU is freely available under a +BSD-style license.
  • Joda Time - Java date -and time API contains a class +and time API +contains a class org.joda.time.tz.ZoneInfoCompiler that compiles tz source into a Joda-specific binary format. Joda Time -is freely available under a BSD-style license.
  • +is freely available under a BSD-style license.
  • PyTZ - Python Time Zone Library compiles tz source into Python. -It is freely available under a BSD-style license.
  • +It is freely available under a BSD-style license.

    Other tz binary file readers

    Other tz-based time zone conversion software