diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2012-03-01 17:39:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2012-03-01 17:39:45 +0000 |
commit | fc55937a5a148ff2ec06810ce25a2b28de2ac645 (patch) | |
tree | 2f398b79f99f14286ae059f9e5775773b63e8ff3 | |
parent | 2b7fc4d2896baa5256d8528d3e1cf165af114e64 (diff) |
Update to tzcode2012a from munnari.oz.au
-rw-r--r-- | lib/libc/time/README | 18 | ||||
-rw-r--r-- | lib/libc/time/strftime.3 | 6 | ||||
-rw-r--r-- | lib/libc/time/tz-art.htm | 4 | ||||
-rw-r--r-- | lib/libc/time/tz-link.htm | 28 |
4 files changed, 36 insertions, 20 deletions
diff --git a/lib/libc/time/README b/lib/libc/time/README index f02a6562143..2431e9b0113 100644 --- a/lib/libc/time/README +++ b/lib/libc/time/README @@ -1,5 +1,5 @@ -$OpenBSD: README,v 1.8 2010/08/23 22:35:34 millert Exp $ -@(#)README 8.3 +$OpenBSD: README,v 1.9 2012/03/01 17:39:44 millert Exp $ +@(#)README 8.4 This file is in the public domain, so clarified as of 2009-05-17 by Arthur David Olson. @@ -41,7 +41,7 @@ tz distribution on a GNU/Linux or similar host. mkdir tz cd tz - wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz' + wget 'ftp://munnari.oz.au/pub/tz*.tar.gz' gzip -dc tzcode*.tar.gz | tar -xf - gzip -dc tzdata*.tar.gz | tar -xf - @@ -72,7 +72,7 @@ the files currently do not even attempt to cover all time stamps before 1970, and there are undoubtedly errors even for time stamps since 1970. If you know that the rules are different from those in a file, by all means feel free to change file (and please send the changed version to -tz@elsie.nci.nih.gov for use in the future). Europeans take note! +tz@iana.org for use in the future). Europeans take note! Thanks to these Timezone Caballeros who've made major contributions to the time conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz; @@ -81,7 +81,13 @@ Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales for testing work, and to Gwillim Law for checking local mean time data. None of them are responsible for remaining errors. -Look in the ~ftp/pub directory of elsie.nci.nih.gov +Look in the ~ftp/pub directory of munnari.oz.au for updated versions of these files. -Please send comments or information to tz@elsie.nci.nih.gov. +Please send comments or information to tz@iana.org. + +Postscript: The README above is largely unmodified (aside from details +of mailing list and ftp archive addresses) from that prepared many years +ago by Arthur David Olson, to whom the timezone community owes the +greatest debt of all. Arthur is not currently maintaining this data or +code (though he remains involved). diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3 index e6e22823af8..331a12dc2ed 100644 --- a/lib/libc/time/strftime.3 +++ b/lib/libc/time/strftime.3 @@ -30,9 +30,9 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91 -.\" $OpenBSD: strftime.3,v 1.27 2011/09/16 19:36:07 jmc Exp $ +.\" $OpenBSD: strftime.3,v 1.28 2012/03/01 17:39:44 millert Exp $ .\" -.Dd $Mdocdate: September 16 2011 $ +.Dd $Mdocdate: March 1 2012 $ .Dt STRFTIME 3 .Os .Sh NAME @@ -251,4 +251,4 @@ is not large enough to store the entire time string. The contents of .Fa buf are implementation specific in this case. -.\" @(#)newstrftime.3 8.2 +.\" @(#)newstrftime.3 8.3 diff --git a/lib/libc/time/tz-art.htm b/lib/libc/time/tz-art.htm index 902371eab5f..c7cce80bc77 100644 --- a/lib/libc/time/tz-art.htm +++ b/lib/libc/time/tz-art.htm @@ -9,7 +9,7 @@ PUBLIC "-//W3C//DTD HTML 4.01//EN" <body> <h1>Time and the Arts</h1> <address> -@(#)tz-art.htm 8.20 +@(#)tz-art.htm 8.21 </address> <p> This file is in the public domain, so clarified as of @@ -17,7 +17,7 @@ This file is in the public domain, so clarified as of </p> <p> Please send corrections to this web page to the -<a href="mailto:tz@elsie.nci.nih.gov">time zone mailing list</a>.</p> +<a href="mailto:tz@iana.org">time zone mailing list</a>.</p> <p> See also <a href="tz-link.htm">Sources for Time Zone and Daylight Saving Time Data</a>.</p> <hr> diff --git a/lib/libc/time/tz-link.htm b/lib/libc/time/tz-link.htm index f5ce3cb816e..c0d958ee29a 100644 --- a/lib/libc/time/tz-link.htm +++ b/lib/libc/time/tz-link.htm @@ -18,7 +18,7 @@ <body> <h1>Sources for Time Zone and Daylight Saving Time Data</h1> <address> -@(#)tz-link.htm 8.32 +@(#)tz-link.htm 8.33 </address> <p> This file is in the public domain, so clarified as of @@ -26,7 +26,7 @@ This file is in the public domain, so clarified as of </p> <p> Please send corrections to this web page to the -<a href="mailto:tz@elsie.nci.nih.gov">time zone mailing list</a>.</p> +<a href="mailto:tz@iana.org">time zone mailing list</a>.</p> <h2>The <code>tz</code> database</h2> <p> The <a href="http://en.wikipedia.org/wiki/Public_domain">public-domain</a> @@ -83,7 +83,7 @@ implementation set the <code>TZ</code> environment variable to the location's full name, e.g., <code>TZ="America/New_York"</code>.</p> <p> In the <code>tz</code> database's -<a href="ftp://elsie.nci.nih.gov/pub"><abbr +<a href="ftp://munnari.oz.au/pub"><abbr title="File Transfer Protocol">FTP</abbr> distribution</a> the code is in the file <code>tzcode<var>C</var>.tar.gz</code>, where <code><var>C</var></code> is the code's version; @@ -98,25 +98,30 @@ see the downloaded <code>README</code> file for what to do next.</p> <pre style="margin-left: 2em"><code>mkdir tz cd tz -<a href="http://www.gnu.org/software/wget/">wget</a> 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz' +<a href="http://www.gnu.org/software/wget/">wget</a> 'ftp://munnari.oz.au/pub/tz*.tar.gz' <a href="http://www.gnu.org/software/gzip/">gzip</a> -dc tzcode*.tar.gz | <a href="http://www.gnu.org/software/tar/">tar</a> -xf - gzip -dc tzdata*.tar.gz | tar -xf - </code></pre> <p> +The code and data files can also be obtained from the +<a href="http://www.iana.org">IANA</a> +<a href="http://www.iana.org/time-zones">timezone web page</a>. +<p> The code lets you compile the <code>tz</code> source files into machine-readable binary files, one for each location. It also lets you read a <code>tz</code> binary file and interpret time stamps for that location.</p> <p> The data are by no means authoritative. If you find errors, please -send changes to the <a href="mailto:tz@elsie.nci.nih.gov">time zone +send changes to the <a href="mailto:tz@iana.org">time zone mailing list</a>. You can also <a href="http://news.gmane.org/gmane.comp.time.tz">browse recent messages</a> sent to the mailing list, <a -href="mailto:tz-request@elsie.nci.nih.gov">subscribe</a> to it, -retrieve the <a -href="ftp://elsie.nci.nih.gov/pub/tzarchive.gz">full archive of old -messages</a> (in gzip compressed format), or retrieve <a +href="https://mm.icann.org/mailman/listinfo/tz">subscribe</a> to it. +browse the <a +href="http://mm.icann.org/pipermail/tz/">archive of old +messages</a> (message by message or in gzip compressed format), +or retrieve <a href="ftp://munnari.oz.au/pub/oldtz">archived older versions of code and data</a>.</p> <p> @@ -273,6 +278,11 @@ is a <code>tz</code> binary file reader written in Java. It is freely available under the <abbr>LGPL</abbr>.</li> <li>Tcl, mentioned above, also contains a <code>tz</code> binary file reader.</li> +<li><a href="http://search.cpan.org/perldoc?DateTime::TimeZone::Tzfile"> +DateTime::TimeZone::Tzfile</a> +is a <code>tz</code> binary file reader written in Perl. +It is freely available under the same terms as Perl +(dual <abbr>GPL</abbr> and Artistic license).</li> </ul> <h2>Other <code>tz</code>-based time zone software</h2> <ul> |