1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-06 22:27:48 +00:00
Commit Graph

3306 Commits

Author SHA1 Message Date
Paul Eggert
cfdfcf9e91 * northamerica (Haiti): Haiti is using US-style rules this year, too.
Assume this will continue.  Thanks to Steffen Thorsen, in
<http://mm.icann.org/pipermail/tz/2013-March/018761.html>.
2013-03-10 21:22:47 -07:00
Paul Eggert
d89986e3aa Paraguay ends DST early this year.
* southamerica (Para): DST ends on March 24 this year.  (Thanks to
Steffen Thorsen).  For now, assume the change is just this year.
2013-03-07 14:12:38 -08:00
Paul Eggert
95e6f814bb Estimate Morocco 2013-2038 transitions for Ramadan.
* africa (Morocco): Use GNU Emacs 24.3 to estimate Ramadan-based
DST transition dates for 2013-2038.  Heads-up by Erik Homoet in
<http://mm.icann.org/pipermail/tz/2013-February/018680.html>.
2013-03-06 22:32:18 -08:00
Paul Eggert
0fdbcdc252 Release tzcode2013a and tzdata2013a.
* Makefile (VERSION): Increase to 2013a.
2013a
2013-02-27 09:20:35 -08:00
Paul Eggert
cec2e7019a Chile is changing its DST rules.
Thanks to Steffen Thorsen for the heads-up, in
<http://mm.icann.org/pipermail/tz/2013-February/018623.html>.
* antarctica (ChileAQ):
* southamerica (Chile):
Assume the 2012 rules will continue indefinitely.  Suggested by Robert
Elz in <http://mm.icann.org/pipermail/tz/2013-February/018636.html>.
2013-02-20 23:40:23 -08:00
Paul Eggert
68efd69762 Incorporate data from Milne (1899).
The source is: Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94
<http://www.jstor.org/stable/1774359>.
* africa (Africa/Gaborone, Africa/Cairo):
* asia (Asia/Rangoon, Asia/Shanghai, Asia/Hong_Kong, Asia/Aden):
* australasia (Pacific/Fiji):
* europe (Europe/Vienna):
* northamerica (America/Nassau, America/Barbados, Atlantic/Bermuda)
(America/Costa_Rica):
* southamerica (America/Bogota, America/Curacao):
Adjust old time stamps to match Milne.  I went going through
Milne's list one by one and did not finish, but the rest can be
done later.
2013-02-20 23:00:40 -08:00
Paul Eggert
09936256b9 * tz-link.htm: Add pointer to tz.js. Update URLs. 2013-02-20 22:39:27 -08:00
Paul Eggert
3c6cc4544d Allow 24:00 at the end of version-2-format time zone files.
* zic.c (stringoffset): Allow 24:00.  POSIX.1-2008 allows 24:00,
even though older versions of POSIX maxed out at 23:59:59.
Patch from Arthur David Olson.
2013-02-20 22:05:52 -08:00
Paul Eggert
d4266a8cac * strftime.c: Also mention sccsid in the "Based on" comment. 2013-01-12 12:04:36 -08:00
Paul Eggert
0d43a76fca * strftime.c: Bring back "Based on UCB" comment.
This was inadvertently omitted when SCCS keywords were removed.
2013-01-11 20:54:47 -08:00
Arthur David Olson
3056d67be6 Fix bug with two-in-one-month time changes in 2010 in Egypt.
Problem reported by Paul Eggert in
<http://mm.icann.org/pipermail/tz/2013-January/018532.html>.
* zic.c (stringzone): Check for day of month too, when finding
latest rule.
2013-01-11 17:57:57 -08:00
Paul Eggert
78d0395d95 Move 'make check' to Ubuntu 12.10.
* Makefile (SGML_DTDDIR): New macro, for easier porting.
Update to file name used in Ubuntu 12.10.
(SGML_SEARCH_PATH): Use SGML_DTDDIR.
2013-01-11 12:02:22 -08:00
Paul Eggert
3daaa8e346 New alias Europe/Busingen for Europe/Zurich.
* europe, zone.tab (Europe/Busingen): New Link.  See Arthur David Olson
in <http://mm.icann.org/pipermail/tz/2013-January/018511.html>.
Original heads-up from Tobias Conradi in
<http://mm.icann.org/pipermail/tz/2011-September/008784.html>.
2013-01-11 11:58:07 -08:00
Paul Eggert
daadd70793 Check that the distributed files use a safe ASCII subset.
* Makefile (TAB_CHAR, INVALID_CHAR1, INVALID_CHAR2, INVALID_CHAR3)
(INVALID_CHAR): New macros.
(check_character_set): New rule.
(check): Use it.
2012-12-13 17:19:47 -08:00
Paul Eggert
3423c7fa4a Stick to ASCII in commentary.
* southamerica: Rewrite to avoid the need for Latin-1 bytes.
Perhaps someday we should allow non-ASCII characters in commentary,
but if we do so we should use UTF-8.  Reported by Andy Heninger in
<http://mm.icann.org/pipermail/tz/2012-December/018480.html>.
2012-12-13 16:32:22 -08:00
Paul Eggert
318a6e5dcc Update zones Asia/Khandyga, Asia/Ust-Nera for pre-2004 time.
* europe (Asia/Khandyga, Asia/Ust-Nera): Modify pre-2004 history
to agree with Shanks and Pottenger (2003), since we have no better info.
2012-11-25 18:57:05 -08:00
Arthur David Olson
5ccc5f314f * tz-art.htm: Add "Run by the Monkeys". 2012-11-25 18:49:36 -08:00
Arthur David Olson
8c7f3d45f2 New zones Asia/Khandyga, Asia/Ust-Nera.
* europe, zone.tab (Asia/Khandyga, Asia/Ust-Nera): New zones.
Original heads-up from Alexander Krivenyshev in
<http://mm.icann.org/pipermail/tz/2011-September/008798.html>
with additional comments by Sanjeev Gupta and Tobias Conradi.
2012-11-25 18:47:40 -08:00
Arthur David Olson
4aae6cb25c Fix two localtime.c bugs reported by Doug Bailey.
See <http://mm.icann.org/pipermail/tz/2012-July/018103.html>.
* localtime.c (settzname): Ensure that tzname values are set.
(tzload): Get proper behavior when the software is being run on an
unsigned-time_t system but is using data files generated on a
signed-time_t system.
2012-11-25 14:08:15 -08:00
Paul Eggert
a435f9f0ec Make bug-reporting address more configurable.
Based on a patch by Joseph S. Myers in
<http://mm.icann.org/pipermail/tz/2012-November/018452.html>.
* Makefile (BUGEMAIL): New macro.
(version.h, tzselect): Use it to define REPORT_BUGS_TO.
* tzselect.ksh (REPORT_BUGS_TO): New variable, used for --help.
* zdump.c, zic.c (usage): Use REPORT_BUGS_TO for --help.
2012-11-12 21:52:35 -08:00
Paul Eggert
dec96c09a2 Release tzcode2012j and tzdata2012j.
* Makefile (VERSION): Increase to 2012j.
2012j
2012-11-12 18:34:49 -08:00
Paul Eggert
4222458f3f FoxClocks update.
* tz-link.htm: Update FoxClocks info as per Andy McDonald
<http://mm.icann.org/pipermail/tz/2012-November/018458.html>.
2012-11-12 18:33:22 -08:00
Paul Eggert
ef8095aaf8 Update documentation.
* tz-link.htm: Prune no-longer-working URLs, update URLs that got
moved, sort a bit.  The most-important casualty is the Norwegian
Meteorological Institute's web page for Summer time in Norway,
formerly at <http://met.no/met/met_lex/q_u/sommertid.html>: it's
no longer there and I can't find out where it moved to, if
anywhere.
* tzfile.5: Fix minor grammar problem.
2012-11-11 23:42:00 -08:00
Paul Eggert
c7698fdca6 Libya moving to CET, but with DST.
* africa (Libya, Africa/Tripoli): Libya switched to CET
on 2012-11-10 at 02:00, and plans to switch to CEST
Mar lastFri 1:00 and switch back Oct lastFri 2:00.
Thanks to Even Scharning, Steffen Thorsen, and Tim Parenti,
with the thread starting in
<http://mm.icann.org/pipermail/tz/2012-November/018449.html>.
2012-11-11 22:01:49 -08:00
Paul Eggert
89a60086d3 Output version info in a more-typical format.
E.g., "zic (tzcode) 2012i" instead of "tzcode2012i".
Thread started by Joseph S. Myers in
<http://mm.icann.org/pipermail/tz/2012-November/018439.html>.
* Makefile (PACKAGE): New macro.
(version.h, tzselect): New constant PKGVERSION, derived from PACKAGE.
(tzselect): TZVERSION is now simply VERSION, since PACKAGE is also
output.
* tzselect.ksh (PKGVERSION): New var, which Makefile substitutes for.
(--usage, --version): Exit with nonzero status if we can't
output the help or version number.
* tzselect.ksh (--version):
* zdump.c, zic.c (main):
Output versions like this: "zdump (tzcode) 2012i".
2012-11-09 18:12:22 -08:00
Paul Eggert
bd6e304281 Change email address to tz@iana.org.
* africa, australasia, europe, northamerica, southamerica:
* tzselect.ksh, zdump.c, zic.c:
In commentary and strings, change email address from
tz@elsie.nci.nih.gov to tz@iana.org, as the old email address
no longer works.
2012-11-09 17:49:36 -08:00
Paul Eggert
06c1441286 * asia (Zion): Comment that it's law now, from Ephraim Silverberg. 2012-11-05 06:40:30 -08:00
Paul Eggert
2577472467 Improve logic of zic -v abbreviation-length check.
This fixes a bunch of "time zone abbreviation has more than 3
alphabetics" diagnostics for 'make check_public'.
* zic.c (newabbr): Check for <3 alphabetics, not for >3.
POSIX-2008 requires at least 3 and says that it's not portable to
use more than 6, which we check elsewhere.
2012-11-03 19:43:21 -07:00
Paul Eggert
cb66ad8326 Check 'public' more carefully.
* Makefile (ZFLAGS): Remove obsolete comment.
(check_public): Put temporary directory under this directory, not
under /tmp, as that's better if one is doing multiple builds in
parallel.  Also, use the just-built zic rather than the system zic.
(clean): Remove temporary directory.
2012-11-03 19:39:56 -07:00
Paul Eggert
4fc4c4cf40 Use .asc and not .sign for PGP signatures.
* Makefile (maintainer-clean): Clean *.asc files and *.tar.gz files.
(signatures): Use .asc instead of .sign as the extension for signatures
as this works better with other software.  Reported by Phil Pennock.
* .gitignore: Also ignore .asc files.
2012-11-03 17:41:16 -07:00
Paul Eggert
a1752133a1 Release tzcode2012i and tzdata2012i.
* Makefile (VERSION): Increase to 2012i.
2012i
2012-11-03 12:57:09 -07:00
Paul Eggert
d31d208f7e Automate the building of tarball signatures.
* Makefile (public): Rewrite in terms of new rules, below.
(check_public): New rule, containing the old checking part of
'make public'.
(tarballs): New rule, containing the old tarball-making part of
'make public'.  Do not run checktab twice.
(signatures, tzcode$(VERSION).tar.gz.sign, tzdata$(VERSION).tar.gz.sign):
New rules.
2012-11-03 12:56:05 -07:00
Paul Eggert
0ff4ee1dd4 Cuba switches to standard time on November 4 this year.
* northamerica: Alter Cuba rules accordingly.
Thanks to Steffen Thorsen for the heads-up, in
<http://mm.icann.org/pipermail/tz/2012-November/018427.html>.
2012-11-03 01:45:16 -07:00
Paul Eggert
5fe2d18b25 * tz-link.htm: Mention github. Update DC.Identifier to point to IANA. 2012-10-28 03:05:29 -07:00
Paul Eggert
b0920a5626 * asia: Fix misspelling in comment. 2012-10-28 03:04:03 -07:00
Paul Eggert
6daf83cd40 Have tzselect.ksh use Bash by default; this can be overridden.
* Makefile (KSHELL): New macro.
(tzselect): Use it.
* tzselect.ksh: Use "#!/bin/bash", not "#! /bin/ksh".  The Makefile
can override this.  No need for a space after "!'; that was put in
years ago only because of an urban legend.
2012-10-27 13:54:13 -07:00
Paul Eggert
540e58b0aa Makefile portability improvements.
* Makefile (LDFLAGS): Rename from LFLAGS, with backwards compatibility.
All uses changed.  Suggested by Mike Frysinger in
<http://mm.icann.org/pipermail/tz/2012-October/018396.html>.
(zdump, zic, date): Use $(CC) -o $@ ... rather than $(CC) ... -o $@,
for portability to strict older POSIX hosts.
($(TZLIB)): Don't use [ ... -o ... ], as it's not portable.
2012-10-27 13:19:45 -07:00
Paul Eggert
cff2e6fb6e * Makefile (AWK): Default to 'awk'; this is more portable these days.
Suggested by Mike Frysinger in
<http://mm.icann.org/pipermail/tz/2012-October/018397.html>.
2012-10-27 12:36:00 -07:00
Paul Eggert
001a626d31 Release tzcode2012h and tzdata2012h.
* Makefile (VERSION): Increase to 2012h.
2012h
2012-10-26 22:49:10 -07:00
Paul Eggert
2151ca6b20 Restore 'register'.
* asctime.c (asctime_r, asctime):
* date.c (main, dogmt, reset, nondigit, sametm, convert, checkfinal):
* ialloc.c (icatalloc):
* localtime.c (detzcode, detzcode64, settzname, tzload)
(typesequiv, getzname, getqzname, getnum, getsecs, getoffset)
(getrule, transtime, tzparse, tzset, localsub, gmtsub)
(leaps_thru_end_of, timesub, increment_overflow)
(long_increment_overflow, normalize_overflow)
(long_normalize_overflow, tmcomp, time2sub, time1, leapcorr):
* scheck.c (scheck):
* strftime.c (_yconv):
* zdump.c (my_localtime, abbrok, main, yeartot, hunt)
(delta, show, abbr, dumptime):
* zic.c (main, dolink, itsdir, associate, infile, inrule)
(inzone, inzcont, inzsub, inleap, inlink, rulesub, convert64)
(writezone, doabbr, stringoffset, stringrule, stringzone)
(outzone, addtype, leapadd, adjleap, ciequal, itsabbr, byword)
(getfields, rpytime, newabbr, mkdirs):
Restore the uses of 'register', reverting that part of the
"More C modernization" patch.  See Arthur David Olson in
<http://mm.icann.org/pipermail/tz/2012-October/018385.html>.
2012-10-26 17:37:42 -07:00
Paul Eggert
ff07530c90 Changes for Bahia, Tocantins, Israel, Jordan.
* asia (Zion): New Israeli rules next year.  See Ephraim Silverberg in
<http://mm.icann.org/pipermail/tz/2012-October/018351.html>.
(Jordan): Jordan stays on DST this winter.  See Steffen Thorsen in
<http://mm.icann.org/pipermail/tz/2012-October/018374.html>.
* southamerica (America/Araguaina): Now has DST.  See Rodrigo Severo in
<http://mm.icann.org/pipermail/tz/2012-October/018346.html>.
(America/Bahia): No longer has DST.  See Kelley Cook in
<http://mm.icann.org/pipermail/tz/2012-October/018349.html>.
2012-10-26 00:50:05 -07:00
Paul Eggert
116520ac03 Web page updates.
* tz-link.htm (DC.Identifier): Move canonical location to cs.ucla.edu.
Move public-domains and corrections notices to <address>.
Update some URLs.  Add Android.  Mac OS X has been renamed to OS X.
2012-10-26 00:48:56 -07:00
Paul Eggert
c350bfd55f More C modernization.
* Makefile (typecheck): Add -D__time_t_defined to CFLAGS,
for glibc 2.15.
* asctime.c (asctime_r, asctime):
* date.c (main, dogmt, reset, nondigit, sametm, convert, checkfinal):
* ialloc.c (icatalloc):
* localtime.c (detzcode, detzcode64, settzname, tzload)
(typesequiv, getzname, getqzname, getnum, getsecs, getoffset)
(getrule, transtime, tzparse, tzset, localsub, gmtsub)
(leaps_thru_end_of, timesub, increment_overflow)
(long_increment_overflow, normalize_overflow)
(long_normalize_overflow, tmcomp, time2sub, time1, leapcorr):
* scheck.c (scheck):
* strftime.c (_yconv):
* zdump.c (my_localtime, abbrok, main, yeartot, hunt)
(delta, show, abbr, dumptime):
* zic.c (main, dolink, itsdir, associate, infile, inrule)
(inzone, inzcont, inzsub, inleap, inlink, rulesub, convert64)
(writezone, doabbr, stringoffset, stringrule, stringzone)
(outzone, addtype, leapadd, adjleap, ciequal, itsabbr, byword)
(getfields, rpytime, newabbr, mkdirs):
Omit 'register', as it adds no value these days.  See Christos Zoulas in
<http://mm.icann.org/pipermail/tz/2012-October/018376.html>.
* date.c (netsettime) [TSP_SETDATE]: Add forward decl.
Don't rely on implicit int.  Now static.  Use NULL, not 0.
* zdump.c: Include "limits.h".
(absolute_min_time, absolute_max_time): Compute at compile-time,
as the run-time tests relied on undefined behavior.
(checkabsolutes): Rename from setabsolutes.  Just check, since
there's nothing to set now.  All uses changed.
2012-10-26 00:48:01 -07:00
Paul Eggert
ec6a124c84 Release tzcode2012g and tzdata2012g.
* Makefile (VERSION): Increase to 2012g.
(COMMON): New macro.
(DOCS): Remove Makefile.
(ENCHILADA): Adjust to above changes.
(public): Put $(COMMON) in both tarballs, so that the version
number is in both distributions.
2012g
2012-10-17 20:59:45 -07:00
Paul Eggert
22406c0da5 Samoa fall 2012 and later
* australasia (WS): New rule.
(Pacific/Apia): Use it, for new DST rules for Western Samoa.
Thanks to Nicholas Pereira for the heads-up and to Robert Elz
for coding up the rules.
2012-10-12 07:55:45 -07:00
Paul Eggert
d2aee3a835 Palestine fall 2012
* asia (Asia/Gaza, Asia/Hebron): Fall transition was
Sep 21, not Sep 28.  Thanks to Steffen Thorsen for this.
2012-10-12 07:54:44 -07:00
Paul Eggert
400ecf36bb Assume C89.
* Makefile (GCC_DEBUG_FLAGS): Modernize for GCC 4.6.3 x86.
* asctime.c (asctime_r, asctime):
* date.c (main, dogmt, reset, wildinput, nondigit, oops, display)
(timeout, sametm, netsettime):
* difftime.c (difftime):
* ialloc.c (icatalloc, icpyalloc):
* localtime.c (detzcode, detzcode64, differ_by_repeat)
(tzload, typesequiv, getzname, getnum, getsecs, getoffset)
(getrule, transtime, tzparse, gmtload, tzsetwall, tzset)
(localsub, localtime, localtime_r, gmtsub, gmtime, gmtime_r)
(offtime, leaps_thru_end_of, timesub, ctime, ctime_r)
(increment_overflow, long_increment_overflow)
(normalize_overflow, long_normalize_overflow, tmcomp, time2sub)
(time2, time1, mktime, timelocal, timegm, timeoff, gtime)
(leapcorr, time2posix, posix2time):
* scheck.c (scheck):
* strftime.c (strftime, _fmt, _conv, _add, _yconv, _loc):
* zdump.c (my_localtime, abbrok, usage, main, yeartot)
(delta, abbr, dumptime):
* zic.c (memcheck, eats, eat, error, warning, main)
(dolink, itsdir, rcomp, associate, infile, gethms, inrule)
(inzone, inzcont, inzsub, inleap, inlink, rulesub, convert)
(convert64, puttzcode, puttzcode64, atcomp, is32, writezone, DO)
(doabbr, updateminmax, stringoffset, stringrule, stringzone)
(outzone, addtt, addtype, leapadd, yearistype, lowerit, ciequal)
(itsabbr, byword, getfields, oadd, tadd, rpytime, newabbr)
(mkdirs, eitol):
Assume C89 or better.  Mostly this consists of using function
prototypes.  In a few places, prototypes are required for
portability to hosts where time_t does not promote to itself and
where a preceding prototype does not override a definition.  But
while we're at it we might as well be consistent: it's safe to
assume at-least-C89 these days.
* ialloc.c (nonzero, imalloc, icalloc, irealloc, ifree, icfree):
Remove; no longer needed now that we assume C89 or better.
All callers changed to use malloc, calloc, realloc, free.
* localtime.c (getzname, getqzname, leaps_thru_end_of, transtime):
* zdump.c (delta, yeartot):
* zic.c (eitol):
Now pure.
* private.h, zdump.c (ATTRIBUTE_PURE): New macro.
* private.h (icalloc, imalloc, irealloc, icfree, ifree): Remove decls.
* zic.c: Remove no-longer-necessary forward decls.
(max_time, min_time): Now const.
(setboundaries): Remove.
2012-10-12 07:53:12 -07:00
Paul Eggert
66f0c30ddc Release tzdata2012f.
* Makefile (VERSION): Increase to 2012f.
2012f
2012-09-12 23:17:03 -07:00
Paul Eggert
7550cb98da Fiji change for 2012/13, plus guess the future is similar. 2012-08-31 06:27:35 -07:00
Paul Eggert
11f660a42c Fix typo: simplifes -> simplifies. Thanks to Jonathan Leffler in
<http://mm.icann.org/pipermail/tz/2012-August/018236.html>.
2012-08-31 06:00:04 -07:00