1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-07 05:25:25 +00:00
Commit Graph

3601 Commits

Author SHA1 Message Date
Paul Eggert
15468c9547 * tz-link.htm, NEWS: Mention "The Time Now". 2015-03-25 13:46:29 -07:00
Paul Eggert
4adb2337ae * tz-link.htm, NEWS: Mention the TZUpdater tool. 2015-03-24 13:48:36 -07:00
Paul Eggert
4f175b64bd Fix recently-introduced 'make check' failure
* backward (America/Montreal): Move to here ...
* northamerica: ... from here.
2015-03-24 13:13:19 -07:00
Paul Eggert
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
Paul Eggert
6ac5f524e3 Modernize GCC_DEBUG_FLAGS
* Makefile (GCC_DEBUG_FLAGS): Assume GCC 4.9.2 and current tz sources.
Add -Wdate-time, -Wdouble-promotion, -Wlogical-op,
-Wold-style-definition, -Wunused.  Remove redundant -Wcast-qual
and -Wno-cast-qual.  Remove -Wmissing-declarations; implied by
-Wmissing-prototypes.  Remove -Wmissing-noreturn; equivalent to
-Wsuggest-attribute=noreturn.  Remove -Wno-sign-conversion; not
needed, as we don't use -Wconversion.  Put the -Wno-* options
last, so that they override preceding options that enable warnings.
2015-03-24 12:09:39 -07:00
Paul Eggert
2dc5d94148 Release tzcode2015b and tzdata2015b.
* NEWS, Makefile (VERSION): Increase to 2015b.
2015b
2015-03-19 23:29:24 -07:00
Paul Eggert
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
Paul Eggert
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
Paul Eggert
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
Paul Eggert
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
Paul Eggert
fc47687a23 * europe (Volgograd), NEWS: Fix typo in 1992-2010 DST abbreviation.
(Thanks to Hank W.)
2015-03-06 09:31:43 -08:00
Paul Eggert
bcfacc42a1 * asia (Palestine): Fix comment typo. (Thanks to Tim Parenti.) 2015-03-04 18:30:48 -08:00
Paul Eggert
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
Paul Eggert
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
Paul Eggert
f14d56f9bc * NEWS, Theory: Update info about Mars time, citing Chmielewski. 2015-03-03 00:55:48 -08:00
Tim Parenti
bc19e5a1e2 * southamerica (Pacific/Easter): Fix regression in 1982 shift.
This corrects a regression introduced in
bba6b9ac71.
2015-02-16 08:32:54 -08:00
Paul Eggert
4da4dafa30 * northamerica (America/Cayman): Put Link after Zone. 2015-02-12 23:56:16 -08:00
Paul Eggert
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
Paul Eggert
aaa4e65a19 * southamerica: Update URL for the recent Chile DST change. 2015-02-07 10:00:40 -08:00
Paul Eggert
e219cfa26c Leap seconds administrivia
* leap-seconds.list: New version 3629404800 from NIST,
fixing a commentary typo and removing trailing white space.
* Makefile (check_white_space): Remove special case for
leap-second.list.
2015-02-06 08:22:35 -08:00
Paul Eggert
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
Paul Eggert
a0782484f1 Release tzcode2015a and tzdata2015a.
* NEWS, Makefile (VERSION): Increase to 2015a.
2015a
2015-01-29 22:36:59 -08:00
Paul Eggert
b8fbb3c540 Minor tz-link updates
* tz-link.htm: Add MINIX and remove Symbian.
Remove link to now-obsolete proposal by Tim Berners-Lee.
2015-01-29 22:34:20 -08:00
Paul Eggert
525886015d make check_white_space fix for leap-seconds.list
* Makefile (check_white_space): Allow trailing white space in
leap-seconds.list.  This file is maintained by NIST, and the
current version has trailing white space, and has a checksum
making it inadvisable for us to remove the trailing white space in
our copy.  Also, coalesce two 'grep' calls into one, and check for
weird white space characters anywhere, not just before line end.
2015-01-28 16:58:04 -08:00
Paul Eggert
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
Paul Eggert
59a64736ec Revert America/FCP_QRoo change
There are too many unanswered questions about it.
2015-01-28 10:25:25 -08:00
Paul Eggert
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
Tim Parenti
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
Tim Parenti
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
Tim Parenti
7743618b32 * NEWS: Slight consistency fix. 2015-01-28 10:21:03 -08:00
Paul Eggert
e4a256ae88 * NEWS: Document 2015-06-30 leap second. 2015-01-06 13:20:21 -08:00
Tim Parenti
a203788cfd Positive leap second on 2015-06-30.
* leap-seconds.list: Per IERS Bulletin C49 (2015-01-05), a positive leap
second will be inserted into the UTC time scale at the end of
2015-06-30.  Update file from NIST, retrieved from
<ftp://time.nist.gov/pub/leap-seconds.3629404800>.
2015-01-06 13:02:31 -08:00
Paul Eggert
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
Paul Eggert
5486ec685a * northamerica (US): Use lastSun for September 1945.
(Thanks to Ken Murchison.)
2014-12-12 06:46:29 -08:00
Paul Eggert
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
Paul Eggert
9e07a8e372 * backzone (Europe/Isle_of_Man): Use same format as other entries. 2014-12-03 22:08:00 -08:00
Arthur David Olson
606a29b20f * tz-art.htm: Correct the description of "The Mysterious Cube". 2014-11-29 20:52:02 -08:00
Paul Eggert
7552a09780 * NEWS: Mention tzselect fix for POSIX TZ reporting. 2014-11-26 11:36:03 -08:00
Stefan Kuhn
276f85ddd2 tzselect: Display Posix TZ format when used 2014-11-26 11:34:32 -08:00
Paul Eggert
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
Paul Eggert
1c5204b450 * NEWS: Document POSIX awk fixes. 2014-11-25 12:08:03 -08:00
Stefan Kuhn
27bd92aec3 tzselect: Removed spaces in calls to awk-functions
Explanation:
GNU awk fails when a user-defined-functions is called with a space like in
'myUDF ()'. It does not fail when calling builtin functions, but removed
those spaces too.

Example code:
good_awk='function echo(x) { return x; } BEGIN { print echo("x"); }'
bad_awk_='function echo(x) { return x; } BEGIN { print echo ("x"); }'
sin_awk='BEGIN { print sin (0) }'

mawk -W version 2>/dev/null | head -n1
mawk "${sin_awk}"
mawk "${good_awk}"
mawk "${bad_awk_}"
gawk -V | head -n1
gawk "${sin_awk}"
gawk "${good_awk}"
gawk "${bad_awk_}"

Output:
mawk 1.3.4 20141027
0
x
x
GNU Awk 4.0.2
0
x
gawk: cmd. line:1: error: function `echo' called with space between name
and `(',
2014-11-25 12:02:44 -08:00
Tim Parenti
38e46697d8 * europe (Iceland): Typo fix in commentary. 2014-11-23 20:48:00 -08:00
Paul Eggert
db4950669a * NEWS: Fix misspelling. (Thanks to Chris Rorvick.) 2014-11-23 20:38:10 -08:00
Paul Eggert
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
Stefan Kuhn
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
Paul Eggert
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
Paul Eggert
2dc5286b28 Check for links to links.
This problem has come up before, and it's time to add a check to
catch this common error.
* Makefile (AWK_SCRIPTS): Add checklinks.awk.
(check, .PHONY): Add check_links.
(check_links): New rule.
* checklinks.awk: New file.
2014-11-17 11:31:40 -08:00
Paul Eggert
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
Paul Eggert
0965ee56d1 Refactor to centralize the setting of tzname.
See Christos Zoulas in:
http://mm.icann.org/pipermail/tz/2014-November/021881.html
* localtime.c (update_tzname_etc): New function.
(settzname, localsub): Use it.
(localsub): Rename parameter for clarity.
2014-11-11 14:35:33 -08:00