1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-20 19:27:06 +00:00
Commit Graph

277 Commits

Author SHA1 Message Date
14ef987885 Release tzcode2015c and tzdata2015c.
* NEWS, Makefile (VERSION): Increase to 2015c.
2015-04-11 08:57:06 -07:00
0be5aac10e Egypt springs forward at 24:00 on Apr's last Thu
* NEWS: Document this.
* africa (Egypt): Change from "Apr lastFri 0:00s" to "Apr lastThu
24:00" for 2015-2019 and 2023 on.  (Thanks to Steffen Thorsen.)
If I recall correctly, the trailing "s" was needed to work around
a Ramadan glitch that no longer seems to happen with the new rule,
so omit it in the new version.
2015-04-08 10:29:46 -07:00
5e46e1232f Propagate Chile changes to Antarctica/Palmer
When recently changing the 'Chile' ruleset in 'southamerica', I
forgot to update its copy 'ChileAQ' in 'antarctica'.  This sort of
thing has been a continuing problem over the years.  Attempt to
make further recurrences less likely by moving 'Antarctica/Palmer'
from 'antarctica' to 'southamerica', so that there's no need to
copy the rules in question.
* antarctica (ArgAQ, ChileAQ): Remove.
(Antarctica/Palmer): Move to ...
* southamerica: ... this file, and use plain 'Arg' and 'Chile'.
* NEWS: Mention Antarctica/Palmer and the other affected zones.
2015-04-05 21:06:42 -07:00
c99693f4a2 Several changes to Chile time stamps 1890-1990
(Thanks to Alois Treindl for reporting the problem.)
* southamerica (Chile, America/Santiago, Pacific/Easter):
Fix several problems in the Chilean data from 1890 through 1990.
* NEWS: Document this.
2015-04-03 17:00:07 -07:00
15468c9547 * tz-link.htm, NEWS: Mention "The Time Now". 2015-03-25 13:46:29 -07:00
4adb2337ae * tz-link.htm, NEWS: Mention the TZUpdater tool. 2015-03-24 13:48:36 -07:00
2a9e84a175 Move one out-of-scope zone to 'backzone'
* NEWS: Document this.
* backzone (Mont, America/Montreal):
Move this out-of-scope data here from 'northamerica'.
* checktab.awk: Remove special case for America/Montreal,
that was added to this file "temporarily" on 2013-09-11.
* northamerica (America/Montreal): Now a link to America/Toronto.
2015-03-24 12:36:37 -07:00
2dc5d94148 Release tzcode2015b and tzdata2015b.
* NEWS, Makefile (VERSION): Increase to 2015b.
2015-03-19 23:29:24 -07:00
c814bce96d Allow -Dtime_tz=... libs alongside standard libs
Allow libraries built with -Dtime_tz=... to be used in executables
that also use standard-library time_t and libraries.
(Problem reported by Bradley White.)
* NEWS: Document this.
* private.h (localtime_rz, mktime_rz, posix2time_z, time2posix_z)
(tzalloc, tzfree, tzset, tzsetwall) [time_tz]: Define to
tz_localtime_rz etc., so that these functions can be used in the
same executable as standard functions with standard time_t.
(tzset, tzsetwall) [time_tz]: Declare, so that the tz_-prefixed
version ins declared.
2015-03-10 20:48:29 -07:00
af120ed59b Support -Dtime_tz=time_t
* private.h (tz_time_t), NEWS: Move typedef earlier.
(Problem reported by Bradley White.)
2015-03-10 17:56:04 -07:00
4c8309661d Avoid integer overflow in mktime
* localtime.c (time2sub), NEWS: Avoid signed arithmetic overflow.
(Problem reported by Jörg Richter.)
2015-03-10 09:37:50 -07:00
be32412b10 Mongolia resumes DST in 2015
* asia (Mongol), NEWS: Mongolia will start observing DST again
this year, from the last Saturday in March at 02:00 to the last
Saturday in September at 00:00.  (Thanks to Ganbold Tsagaankhuu.)
2015-03-10 00:03:48 -07:00
fc47687a23 * europe (Volgograd), NEWS: Fix typo in 1992-2010 DST abbreviation.
(Thanks to Hank W.)
2015-03-06 09:31:43 -08:00
aa9427b9c4 Palestine delays DST by a day this spring
* asia (Palestine), NEWS: Palestine will start DST on March 28,
not March 27.  Also, correct the fall 2014 transition from
September 26 to October 24.  Adjust future predictions
accordingly.  (Thanks to Steffen Thorsen.)
2015-03-03 08:43:21 -08:00
3febd095c5 Cite Chilean decree for recent time zone change
* southamerica, NEWS: Cite official decree.
(Thanks to Eduardo Romero Urra.)
2015-03-03 08:05:48 -08:00
f14d56f9bc * NEWS, Theory: Update info about Mars time, citing Chmielewski. 2015-03-03 00:55:48 -08:00
bc19e5a1e2 * southamerica (Pacific/Easter): Fix regression in 1982 shift.
This corrects a regression introduced in
bba6b9ac71.
2015-02-16 08:32:54 -08:00
72a3ac9cb0 Move four out-of-scope zones to 'backzone'
* NEWS: Document this.
* australasia (Pacific/Guam): Now a link to Pacific/Guam.
(Pacific/Midway): Now a link to Pacific/Pago_Pago.
* backzone (America/Antigua, America/Cayman, Pacific/Miday)
(Pacific/Saipan): Move these four entries here from the other files.
* checktab.awk: Remove special cases for the four zones.
* northamerica (America/Cayman): Now a link to America/Panama.
(America/Antigua): Move to ...
* southamerica (America/Antigua): ... here, and make it a link to
America/Port_of_Spain.
2015-02-12 23:48:48 -08:00
9d54305614 Cite Mexican degree for Quintana Roo change
* northamerica, NEWS: Add citation and summary of decree.
(Thanks to Carlos Raúl Perasso.)
2015-02-02 14:25:56 -08:00
a0782484f1 Release tzcode2015a and tzdata2015a.
* NEWS, Makefile (VERSION): Increase to 2015a.
2015-01-29 22:36:59 -08:00
bba6b9ac71 Chile has stopped changing its clocks
* NEWS:
* antarctica (ChileAQ, Antarctica/Palmer):
* southamerica (Chile, America/Santiago, Pacific/Easter):
Chile will not change its clocks in April, or thereafter.
Consider this to be their new standard time, effective April.
(Thanks to Juan Correa.)
2015-01-28 10:52:15 -08:00
59a64736ec Revert America/FCP_QRoo change
There are too many unanswered questions about it.
2015-01-28 10:25:25 -08:00
9835e23325 Minor fixes for America/FCP_QRoo commentary
* NEWS: America/FCP_QRoo also affects current time stamps.
* northamerica: Reformat to fit in 80 characters.
* zone.tab, zone1970.tab: Use "city, state" style for consistency.
2015-01-28 10:21:03 -08:00
314de75d97 New zone America/FCP_QRoo.
* northamerica (America/FCP_QRoo): New zone for portions of Quintana Roo
state in Mexico which have observed EST without DST since 1998.
* zone.tab, zone1970.tab: Add entries for it, update description of
America/Cancun to reflect that it no longer represents all of Quintana Roo.
* NEWS: Document this.
2015-01-28 10:21:03 -08:00
31a8a0edca America/Cancun switches to EST without DST on 2015-02-01.
* northamerica (America/Cancun): Switch to EST without DST on
2015-02-01 at 02:00.
* zone.tab, zone1970.tab: Update description for America/Cancun.
* NEWS: Document this.
2015-01-28 10:21:03 -08:00
7743618b32 * NEWS: Slight consistency fix. 2015-01-28 10:21:03 -08:00
e4a256ae88 * NEWS: Document 2015-06-30 leap second. 2015-01-06 13:20:21 -08:00
951395058c * leapseconds.awk, NEWS: Also output expiration date comment.
Problem reported by Martin Burnicki in:
http://www.ietf.org/mail-archive/web/tzdist/current/msg01132.html
2014-12-17 10:02:57 -08:00
d50a143b79 * northamerica, NEWS: Update Mexican Library of Congress URL.
Problem reported by Alois Treindl in:
http://mm.icann.org/pipermail/tz/2014-December/021913.html
2014-12-07 17:42:25 -08:00
7552a09780 * NEWS: Mention tzselect fix for POSIX TZ reporting. 2014-11-26 11:36:03 -08:00
72272febcb Move out-of-scope Arabian peninsula zones to 'backzone'.
* asia (Asia/Bahrain): Now links to Asia/Qatar.
(Asia/Kuwait, Asia/Aden): Now links to Asia/Riyadh.
(Asia/Muscat): Now links to Asia/Dubai.
* backzone: Move the old data here.
* checktab.awk (tztab): Remove special cases for these zones.
* NEWS: Document the above.
2014-11-25 23:04:34 -08:00
1c5204b450 * NEWS: Document POSIX awk fixes. 2014-11-25 12:08:03 -08:00
db4950669a * NEWS: Fix misspelling. (Thanks to Chris Rorvick.) 2014-11-23 20:38:10 -08:00
ff5b82b07b Adjust pre-1940 Iceland data to match the Iceland Almanak.
* europe (Iceland, Atlantic/Reykjavik):
Correct entries for 1939, 1921, 1919, and 1837-1907.
Coalesce some other entries, for simplicity.
* NEWS: Document this.
2014-11-22 20:08:43 -08:00
66cda43f67 tzselect: Fix for gawk treating '\.' as plain '.'
When using gawk and Posix TZ in tzselect, this warning is shown:
	awk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'
gawk treats '\.' as '.'
mawk treats '\.' as '\.'
both treat '\\.' as '\\.'
The 2nd and 3rd are corrrect for 'Mm.w.d'.

Test:
gawk 'BEGIN{ date = "\."; print date }'
gawk 'BEGIN{ date = "\\."; print date }'
versus:
mawk 'BEGIN{ date = "\."; print date }'
mawk 'BEGIN{ date = "\\."; print date }'
* tzselect.ksh (date): Fix bug that broke POSIX TZ checking with gawk.
* NEWS: Document this.
2014-11-22 16:57:41 -08:00
eb7519100e Fix link-to-link for Asmera.
Problem reported by Stephen Colebourne in:
http://mm.icann.org/pipermail/tz/2014-November/021888.html
* backward (Africa/Asmera): Link to Africa/Nairobi,
not to Africa/Asmara.
* backzone (Africa/Asmera): New link, to override 'backward'.
* NEWS: Document fixes.
2014-11-17 11:36:35 -08:00
da5a36565c tzalloc should scrub abbreviations, compatibly with tzset.
* localtime.c (settzname): Move scrubbing into ...
(scrub_abbrs): ... this new function.
(zoneinit): Use it here, rather than in settzname.
* NEWS: Document this.
2014-11-11 14:53:26 -08:00
59ed0cc5b8 Release tzcode2014j and tzdata2014j.
* NEWS, Makefile (VERSION): Increase to 2014j.
2014-11-10 17:38:21 -08:00
e72a94ecd8 * northamerica (America/Grand_Turk): Delay AST switch until next year.
(Thanks to Chris Walton.)
* NEWS: Document this.
2014-11-04 12:15:59 -08:00
6f6f20f0bc Move out-of-scope UTC+3 African zones to 'backzone'.
* africa (Africa/Addis_Ababa, Africa/Asmara, Africa/Dar_es_Salaam)
(Africa/Djibouti, Africa/Kampala, Africa/Mogadishu, Indian/Antananarivo)
(Indian/Comoro, Indian/Mayotte):
Change these from zones to links to Africa/Nairobi.
* backzone: Move the old data here.
* checktab.awk (tztab): Remove special cases for these zones.
* NEWS: Document the above.
2014-10-31 20:15:18 -07:00
bee436b03e Be less enthusiastic about Shanks and clarify UT vs UTC.
* africa, asia, australasia, backzone, europe, northamerica:
* southamerica, tz-link.htm: Be less enthusiastic about Shanks.
* tz-link.htm: Be clearer about UT vs UTC.
* NEWS: Document this.
2014-10-31 19:51:05 -07:00
929c14a3d8 Correct many pre-1989 entries for Korea.
(Thanks to Sanghyuk Jung.)
* asia (ROK): Add entries for 1948-1959 and correct entries
for 1987-1988.
(Asia/Seoul): Correct entries through 1962.
(Asia/Pyongyang): Guess no change since World War II.
* NEWS: Document this.
2014-10-30 23:52:24 -07:00
6ea8fa7879 Release tzcode2014i and tzdata2014i.
* NEWS, Makefile (VERSION): Increase to 2014i.
2014-10-21 22:06:07 -07:00
6ade45f043 * NEWS: Move abbreviation commentary to appropriate section. 2014-10-21 13:55:30 -07:00
8f58b53628 Fiji observes DST from 2014-11-02 02:00 to 2015-01-18 03:00.
(Thanks to Ken Rylander for the heads-up.)
* australasia (Fiji): Assume Nov Sun>=1 2:00 to Jan Sun>=18 3:00
from here on out.
* newtzset.3: Adjust Fiji example to match current assumptions.
* NEWS: Document this.
2014-10-20 17:31:00 -07:00
dd828f759d * northamerica, NEWS: Add NRC Canada link for DST.
(Thanks to Brian Inglis.)

* NEWS: Document this.
2014-10-18 00:54:02 -07:00
add61671e7 Fix localtime.c undefined behaviors and set errno.
Christos Zoulas reported a crash due to a tzsetlcl failure to
initialize data in some places, and requested that errno be set
when time functions fail; see:
http://mm.icann.org/pipermail/tz/2014-October/021754.html
While fixing this in a different way, I noticed and fixed another
instance of undefined behavior when read returns a too-small value.
* NEWS: Document this.
* localtime.c (union input_buffer): Rename from u_t.
(union input_buffer, union local_storage):
Move to top level so that two functions can use them.
(tzloadbody): New function, with most of the body of the old tzload.
Check for short reads that leave uninitialized buffers behind.
Define a new constant TZHEADSIZE for this, and use it to simplify
other code that already uses the concept.
(tzload): Use it.  This removes the need for gotos.  Return an errno
value; all callers changed.
(zoneinit): Return bool, not struct state *.  Assume SP is nonnull.
All callers changed.
(zoneinit, tzalloc): Set errno on failure.
(tzsetlcl): Don't crash if zoneinit fails.
* private.h (ENAMETOOLONG): Define if not already defined.
2014-10-18 00:45:29 -07:00
8791b19ae9 * northamerica, NEWS: Update NRC Canada URLs. (Thanks to Matt Johnson.) 2014-10-17 12:36:04 -07:00
a3733a4db3 * NEWS: Adds missing subheading. 2014-10-14 21:43:59 -07:00
e0c11579ca * australasia (Pacific/Fiji), NEWS: Guess no DST this year.
* newtzset.3: Mention that the Fiji example is obsolete.

(Thanks to Ken Rylander for the heads-up.)
2014-10-14 18:41:12 -07:00