Skip to content

Commit

Permalink
Adjust to iana.org distribution method.
Browse files Browse the repository at this point in the history
* README, tz-link.htm: Mention ftp.iana.org instead of munnari.oz.au.
Suggest --retr-symlinks, since iana.org has symlinks to latest.
* README: Add a title line.
  • Loading branch information
eggert committed Jul 19, 2012
1 parent 0e0bb39 commit 943c565
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
10 changes: 6 additions & 4 deletions README
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
README for the tz distribution

This file is in the public domain, so clarified as of
2009-05-17 by Arthur David Olson.

Expand Down Expand Up @@ -39,9 +41,9 @@ tz distribution on a GNU/Linux or similar host.

mkdir tz
cd tz
wget 'ftp://munnari.oz.au/pub/tz*.tar.gz'
gzip -dc tzcode*.tar.gz | tar -xf -
gzip -dc tzdata*.tar.gz | tar -xf -
wget --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz'
gzip -dc tzcode-latest.tar.gz | tar -xf -
gzip -dc tzdata-latest.tar.gz | tar -xf -

Be sure to read the comments in "Makefile" and make any changes needed
to make things right for your system, especially if you are using some
Expand Down Expand Up @@ -79,7 +81,7 @@ 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 munnari.oz.au
Look in <ftp://ftp.iana.org/tz/releases/>
for updated versions of these files.

Please send comments or information to tz@iana.org.
Expand Down
21 changes: 13 additions & 8 deletions tz-link.htm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta http-equiv="Content-type" content='text/html; charset="US-ASCII"'>
<meta name="DC.Creator" content="Eggert, Paul">
<meta name="DC.Contributor" content="Olson, Arthur David">
<meta name="DC.Date" content="2007-12-26">
<meta name="DC.Date" content="2012-07-19">
<meta name="DC.Description"
content="Sources of information about time zones and daylight saving time">
<meta name="DC.Identifier" content="http://www.twinsun.com/tz/tz-link.htm">
Expand Down Expand Up @@ -80,24 +80,29 @@ <h2>The <code>tz</code> database</h2>
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://munnari.oz.au/pub"><abbr
title="File Transfer Protocol">FTP</abbr> distribution</a>
<a href="ftp://ftp.iana.org/tz/releases/"><abbr
title="File Transfer Protocol">FTP</abbr> releases</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;
similarly, the data are in <code>tzdata<var>D</var>.tar.gz</code>,
where <code><var>D</var></code> is the data's version.
Each version is a four-digit year followed by lower-case letters
(a through z, then za through zz, then zza through zzz, and so on).
Convenience links to
the <a href="ftp://ftp.iana.org/tz/tzcode-latest.tar.gz">latest
code</a> and
<a href="ftp://ftp.iana.org/tz/tzdata-latest.tar.gz">latest data</a> revisions
are also available.
The following <a
href="http://en.wikipedia.org/wiki/Unix_shell">shell</a> commands download
these files to a <abbr>GNU</abbr>/Linux or similar host;
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://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 -
<a href="http://www.gnu.org/software/wget/">wget</a> --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz'
<a href="http://www.gnu.org/software/gzip/">gzip</a> -dc tzcode-latest.tar.gz | <a href="http://www.gnu.org/software/tar/">tar</a> -xf -
gzip -dc tzdata-latest.tar.gz | tar -xf -
</code></pre>
<p>
The code and data files can also be obtained from the
Expand All @@ -119,7 +124,7 @@ <h2>The <code>tz</code> database</h2>
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
href="ftp://ftp.iana.org/tz/releases/">archived older versions of code
and data</a>.</p>
<p>
The Web has several other sources for time zone and daylight saving time data.
Expand All @@ -135,7 +140,7 @@ <h2>Web pages using recent versions of the <code>tz</code> database</h2>
Permatime</a>
is a service for generating and viewing links that refer to a
particular point in time and can be displayed in multiple timezones.
It uses the ruby tzinfo gem.
It uses the ruby tzinfo gem.
(From Tim Diggins, 2009-11-03.)
</li>
<li><a href="http://twiki.org/cgi-bin/xtra/tzdatepick.html">Date and Time Gateway</a>
Expand Down

0 comments on commit 943c565

Please sign in to comment.