Commit Graph
100 Commits
Author SHA1 Message Date
Paul Eggert fe36e5f9ef Pacify Visual Studio 2013
Problem reported by Kees Dekker in:
http://mm.icann.org/pipermail/tz/2015-July/022514.html
* NEWS: Document this.
* difftime.c (difftime):
* localtime.c (localtime, localtime_r, gmtime, gmtime_r, offtime)
(ctime, ctime_r, mktime, timelocal, timegm, timeoff):
* strftime.c (strftime, _fmt, _conv, _add):
Omit 'const' attribute of arguments to match the corresponding
declaration.  Although the C standard says the 'const' is OK,
Visual Studio complains and as it's only a style thing here we
might as well omit it.
2015-07-24 08:57:15 -07:00
Paul Eggert a86ca0f413 Improve comments for Halifax and Glace Bay
(Thanks to Brian Inglis.)
* NEWS, northamerica (Halifax): Document this.
* zone.tab, zone1970.tab:
Improve comments for America/Halifax and America/Glace_Bay.
2015-07-20 07:43:54 -07:00
Paul Eggert e6a6d029b2 Support %z in Zone formats
This extends the zic input format to add support for %z, which
expands to a UTC offset in as-short-as-possible ISO 8601 format.
It's intended to better support zones that do not have an
established abbreviation already.  This is a change only to zic;
it does not affect the data, which can still be compiled with
older zic versions.
* NEWS, zic.8: Document this.
* zic.c (struct zone): New member z_format_specifier.
(PERCENT_Z_LEN_BOUND): New constant.
(max_abbrvar_len): Initialize to it, rather than to 0.
(associate, inzsub, doabbr): Add support for %z.
(abbroffset): New function.
(doabbr): 2nd arg is now struct zone *, not a char *.
All callers changed.
2015-07-19 20:22:55 -07:00
Paul Eggert 24ee915c34 Pacify gcc -Wformat-security
* zic.c (outzone): Add "%s" to pacify GCC.
2015-07-19 15:18:19 -07:00
Paul Eggert 5b8a58981d Two rules can't take effect at the same time
* NEWS: Document this.
* zic.8: Document simultaneity constraints.
* zic.c (outzone): Check for two rules taking effect at the same time.
2015-07-19 15:00:58 -07:00
Paul Eggert 9b533f2a27 Zone TYPEs other than '-' are now obsolescent
* NEWS: Document this.
* zic.8: Remove documentation of -y and of non-'-' TYPE values.
* zic.c (usage): Don't document -y.
2015-07-19 15:00:31 -07:00
Paul Eggert 57a90347f0 Update tz-link.htm links
* tz-link.htm: Change http: to https: for sites that now prefer this,
notably Wikipedia.  Update a few other links to avoid redirects.
Remove Permatime, as it seems defunct.  Add link to USDOT Recent
Time Zone Proceedings.  Remove links to dmoz.org (no longer that
relevant) and to Yahoo! Directory (discontinued as of 2014-12-31).
2015-07-18 15:19:13 -07:00
Paul Eggert f3fe0c29de Add Time Zone Database Parser
* NEWS: Document this (thanks to Howard Hinnant).
* tz-link.htm (Other tz compilers): Mention it.
2015-07-18 13:40:20 -07:00
Paul Eggert abc7166937 Fix zdump problem with abbrevs like '-05'
* zdump.c (is_digit): New macro, copied from private.h.
(abbrok): Use it.  Allow abbreviations that (when quoted) conform
to POSIX.1-2001 or later.
* NEWS: Document this.
2015-07-16 19:30:16 -07:00
Paul Eggert 177f32bb06 Don't warn about abbreviations like '-05'
* NEWS, zic.8: Document this.
* zic.c (newabbr): Allow abbreviations that (when quoted) conform
to POSIX.1-2001 or later.
2015-07-15 10:51:48 -07:00
Paul Eggert 2fab66aa16 Document zic's standard time + SAVE behavior
* zic.8: Say that only the sum matters when adding standard
time to daylight-saving offsets.
2015-07-14 22:03:06 -07:00
Paul Eggert e1e4022b04 Government citation for Uruguay change this spring
* NEWS, southamerica (Uruguay): Add citation (thanks to Pablo Camargo).
2015-07-13 13:42:24 -07:00
Paul Eggert 168ba2d875 Minor clarification to Atlantic/Canary
Suggested by Hank Wisniewski in:
http://mm.icann.org/pipermail/tz/2015-July/022380.html
* europe (Atlantic/Canary): Use 1:00u, not 1:00s.
This does not affect generated time stamps.
2015-07-13 00:58:10 -07:00
Paul Eggert d08663af20 Moldova DST transitions were off by an hour
* NEWS: Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC.
(Thanks to Roman Tudos.)
* europe (Moldova): New rule.
(Europe/Chisinau): Use it.
2015-07-01 23:37:12 -07:00
Paul Eggert 9ebb8da281 Uruguay will stop observing DST
* NEWS: Document this.
* southamerica (Uruguay): Uruguay will not observe DST this spring.
(Thanks to Steffen Thorsen.)  Assume the change is permanent.
2015-06-30 17:06:41 -07:00
Paul Eggert cf8df34364 Tidy up data entries for more locations
* NEWS: Document this.
* europe (Europe/Sofia, Europe/Tallinn, Europe/Simferopol):
This is like the previous change, except it also simplifies the
generated data files for Europe/Simferopol and Europe/Tallinn.
Suggested by Howard Hinnant in:
http://mm.icann.org/pipermail/tz/2015-June/022309.html
2015-06-20 17:39:49 -07:00
Paul Eggert 0e2e3ece54 Tidy up data entry in Atlantic/Canary
* europe (Atlantic/Canary): Tidy up data.
Although this doesn't change the output, it makes the input clearer.
Suggested by Howard Hinnant in:
http://mm.icann.org/pipermail/tz/2015-June/022307.html
2015-06-20 12:56:44 -07:00
Paul Eggert 503ee68905 Release tzcode2015e and tzdata2015e.
* NEWS, Makefile (VERSION): Increase to 2015e.
2015-06-13 10:57:13 -07:00
Paul Eggert 35cee8c8ed More Morocco Ramadan commentary update
* africa (Morocco): Note confusion in government announcement.
(Thanks to Michael Deckers.)
2015-06-10 09:37:23 -07:00
Paul Eggert 8c442f7320 Morocco Ramadan suspension commentary update
* africa (Morocco): Reference official announcement in commentary.
(Thanks to Milamber.)
2015-06-09 09:34:23 -07:00
Paul Eggert 7f98dbf64f Morocco Ramadan suspension now Sunday-to-Sunday
* africa (Morocco): This year, DST is suspended from Sunday through
Sunday, not from Saturday through Saturday.  (Thanks to Milamber.)
Guess a similar pattern in future years.
* NEWS: Document this.
2015-06-08 11:55:28 -07:00
Paul Eggert 0c8b5ba839 zic: clarify UNTIL column
* zic.8: Say that the UNTIL column is interpreted using the rules
in effect before the transition.  See Howard Hinnant's question	in:
http://mm.icann.org/pipermail/tz/2015-June/022293.html
2015-06-06 19:02:37 -07:00
Paul Eggert 5ee6e8cbd1 tzselect: port to POSIX sh and fix a typo
* tzselect.ksh: Use portable names for trap signals.
Also, fix a typo: signal 2 (INT) was meant, not signal 12.
2015-05-27 10:11:50 -07:00
Paul Eggert fc861a9e13 Fix zic -l problem with /etc/localtime
Problem reported by Leonardo Chiquitto in:
http://mm.icann.org/pipermail/tz/2015-May/022276.html
Apparently his zic was built with -DTZDEFAULT=\"/etc/localtime\".
* NEWS: Document this.
* zic.c (verror): Don't dump core if filename is NULL.
(main, infile, mkdirs): Omit unnecessary trailing \n in diagnostic.
(componentcheck, namecheck): Now returns bool.  All callers changed.
(componentcheck): Make the diagnostics more understandable.
Don't exit on error, so that the user can see multiple errors.
(dolink, writezone): Don't namecheck here.
(inzsub, inlink): Do it here instead.
This generates better diagnostics, and avoids the bug, since
it doesn't apply namecheck to TZDEFAULT or to TZDEFRULES.
2015-05-19 01:24:30 -07:00
Paul Eggert eaf12ff288 Guess Cayman Is will observe DST starting 2016
* NEWS: Document this.
* backzone (America/Cayman): Move from here ...
* northamerica: ... back to here, and assume US-style DST starting 2016.
* zone1970.tab (KY): Now a separate row, since KY and PA disagree
starting 2016.
2015-05-15 14:33:01 -07:00
Paul Eggert 7d9279a766 tzselect: discard comments properly
The country code 'DM' matched data in the leading comments
in zone1970.tab, which caused tzselect to misbehave.
Problem reported by Owen Leibman in:
http://mm.icann.org/pipermail/tz/2015-May/022265.html
* tzselect.ksh (regions, TZ): Don't treat comments as data.
* NEWS: Mention this.
2015-05-11 21:50:27 -07:00
Paul Eggert b8f4f99810 Avoid left-shift-into-sign-bit undefined behavior
Problem reported by Joseph Myers in:
https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00704.html
* localtime.c (detzcode, detzcode64): Don't rely on
undefined behavior with left shift into sign bit.
Port better to non-2's-complement machines.
* private.h (TWOS_COMPLEMENT, MAXVAL, MINVAL): New macros.
* private.h (time_t_min, time_t_max):
* zic.c (min_time, max_time): Use them to avoid undefined behavior.
* zdump.c (atime_shift): New constant.
(absolute_min_time, absolute_max_time):
Use it to avoid undefined behavior.
2015-05-08 14:47:40 -07:00
Paul Eggert 0baae05254 Simplify 'make public' chatter
* Makefile (ALL): Depend on $(ENCHILADA).
(check_public): Do not depend on $(ENCHILADA), since we're
about to remove some of it anyway.  Use 'make ALL' to avoid
useless chatter about 'Nothing to do'.
2015-05-08 14:00:13 -07:00
Paul Eggert 65c4598c75 Prefer '$(MAKE)' to 'make'
* Makefile (check_public, check_time_t_alternatives)
(typecheck): Use '$(MAKE)' instead of 'make'.
This has better behavior with GNU 'make' and -j.
2015-05-08 13:52:05 -07:00
Paul Eggert 8f9ffd332b Better fix for tzselect in non-UTF-8 locales
* NEWS: Document this.
* tzselect.ksh (TZ_COUNTRY_TABLE, TZ_ZONE_TABLE):
If the current locale is not UTF-8, convert these tables
to the current locale's encoding before using them.
That's better than switching ths ehell to UTF-8, which
may not work if the current terminal doesn't support it.
Problem reported by Random832 in:
http://mm.icann.org/pipermail/tz/2015-May/022260.html
2015-05-03 23:53:32 -07:00
Paul Eggert d772d0035a tzselect no longer mishandles '\', '-'
* tzselect.ksh (say): New shell function.
Use this instead of 'echo', so as not to mishandle
data containing '\' or leading '-'.
2015-05-03 23:53:32 -07:00
Paul Eggert dae1928dcf tzselect now uses UTF-8 if available
* NEWS: Document this.
* tzselect.ksh (utf8_locale): New var.
Use it to select a UTF-8 locale if available.
2015-05-02 23:23:53 -07:00
Paul Eggert 30a8c5406d Spell Åland etc. with accents in iso3166.tab
* Makefile (check_character_set): Don't require iso3166.tab
to be ASCII.
* NEWS: Document this.
* iso3166.tab (AX, CI, RE): Use UTF-8 rather than ASCII approximations.
2015-05-02 18:00:13 -07:00
Paul Eggert f649033305 Remove hair from southamerica comment
While using the tz source to test some other program I found an
unwanted hair space (U+200A) in the commentary.  Fix this, and
adjust Makefile to catch this sort of thing in the future.
* Makefile (SAFE_CHARSET): Exclude ] and -, as they're now the
invoker's responsibility.  Invoker changed.
(NONSYM_CHAR): Remove, replacing with ...
(OK_CHAR): ... this new macro.  All uses changed.
(NONSYM_LINE, VALID_LINE): Remove, replacing with ...
(OK_LINE): ... this new macro.  All uses changed.
(check_character_set): Simplify test, and report all non-ASCII
non-letters.  Remove the exception for Makefile, as it no longer
needs to contain non-OK characters.
* southamerica: Replace an inadvertent hair space with a space.
2015-05-02 15:20:28 -07:00
Paul Eggert 3e885e21d9 Egypt announced it is off DST indefinitely 2015-04-24 08:50:45 -07:00
Paul Eggert 6b36adfdd6 Release tzcode2015d and tzdata2015d.
* NEWS, Makefile (VERSION): Increase to 2015d.
2015-04-24 08:11:35 -07:00
Paul Eggert bf6d6caa5e Egypt dropped DST in 2015
* NEWS: Document this.
* africa (Egypt): No DST in 2015, and assume no DST thereafter.
2015-04-20 23:36:37 -07:00
Paul Eggert f4f78dc5fe Tune zic.c's overflow checking
* NEWS: Mention performance improvements.
* zic.c (time_overflow): New function.
(oadd, tadd): Use it.
(tadd): Use fewer comparisons.
2015-04-19 23:12:58 -07:00
Paul Eggert da665373cb Remove need for scheck.c
Its function 'scheck' can be done more efficiently inline.
* Makefile (TZCOBJS): Remove scheck.o.
(NONLIBSRCS): Remove scheck.c.
(scheck.o): Remove.
* private.h (scheck): Remove decl.
* scheck.c: Remove.
* zic.c (gethms, inleap, rulesub): Instead of scheck, use sscanf
directly, with %c appended to the format to detect excess input.
2015-04-19 23:12:58 -07:00
Paul Eggert 0ddac5ef7e Remove need for ialloc.c
One of its functions, icpyalloc, duplicates the now-standard
function strdup, and we might as well use the standard function.
Its other function, icatalloc, is used only in O(N**2) algorithms
that can be rewritten to be O(N).
* Makefile: Mention HAVE_STRDUP in commentary.
(TZCOBJS): Remove ialloc.o.
(NONLIBSRCS): Remove ialloc.c.
(ialloc.o): Remove.
* ialloc.c: Remove.
* private.h (HAVE_STRDUP): New macro, defaulting to 1.
(icatalloc, icpyalloc): Remove decls.
* zic.c (end): Remove.
(strdup) [!HAVE_STRDUP]: New function.
(memcheck): Arg is no longer a const pointer, since the
result isn't.
(emalloc, erealloc, ecpyalloc): Now functions, not macros.
(ecpyalloc): Use strdup, not icpyalloc.
(ecatalloc): Remove.  All callers changed.
(componentcheck): Check that file name components are nonempty;
otherwise, relname might return nonsense.
(relname): New function.
(dolink, itsdir, writezone): Use it.
(dolink, stringrule, stringzone):
Rewrite to avoid O(N**2) algorithm involving 'strcat' and 'end'.
(writezone): Use local, not static, to store fullname,
and free it before returning.
(doabbr, stringoffset): Return strlen of result.
2015-04-19 23:12:58 -07:00
Paul Eggert 155c8a6d99 Whitehorse switched to UTC-8 on 1967-05-28
* northamerica (America/Whitehorse):
The switch from UTC-9 to UTC-8 was on 1967-05-28, not 1966-07-01.
(Thanks to Brian Inglis and Dennis Ferguson.)
* NEWS: Document this.
2015-04-17 19:10:32 -07:00
Paul Eggert a0ec682707 Better documentation for time in Yukon
* NEWS, northamerica: Document the time changes in Yukon better.
(Thanks to Brian Inglis.)
2015-04-17 12:58:00 -07:00
Paul Eggert 2b17ca5fff Use HST/HDT to abbreviate Hawaii-Aleutian time
* northamerica (America/Adak): For time stamps since 1983, use
HST/HDT instead of HAST/HADT, as per US GPO style.
* NEWS: Document this.
2015-04-17 11:49:05 -07:00
Paul Eggert 14ef987885 Release tzcode2015c and tzdata2015c.
* NEWS, Makefile (VERSION): Increase to 2015c.
2015-04-11 08:57:06 -07:00
Paul Eggert 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
Paul Eggert 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
Paul Eggert 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
Paul Eggert e050a4c2a4 * europe: Say that "MSK" is ambiguous. 2015-03-31 23:06:52 -07:00
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.
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
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.
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
Paul Eggert e4a256ae88 * NEWS: Document 2015-06-30 leap second. 2015-01-06 13:20:21 -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
Paul Eggert 7552a09780 * NEWS: Mention tzselect fix for POSIX TZ reporting. 2014-11-26 11:36:03 -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
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
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
Paul Eggert 59ed0cc5b8 Release tzcode2014j and tzdata2014j.
* NEWS, Makefile (VERSION): Increase to 2014j.
2014-11-10 17:38:21 -08:00
Paul Eggert 49869e1691 * tz-link.htm: Modernize some more URLs. 2014-11-09 14:51:14 -08:00
Paul Eggert f0447443ed * europe (Russia): Say why no rule change is needed for 2014. 2014-11-06 12:08:13 -08:00
Paul Eggert 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
Paul Eggert 60b8123df6 * tz-link.htm: Modernize URLs a bit. Omit unnecessary trailing slashes. 2014-11-02 23:37:41 -08:00
Paul Eggert 4aa3b781af Fix dates for yesterday's changes. 2014-11-01 00:35:42 -07:00
Paul Eggert abc78b2de0 * europe: Add Countess Markievicz's take on the Summer Time Act, 1916. 2014-10-31 23:31:37 -07:00
Paul Eggert 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
Paul Eggert 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
Paul Eggert 8f81b94ebe * leapseconds.awk: Update the IERS's full name. 2014-10-31 16:16:55 -07:00
Paul Eggert 099ef6380a Remove stray line in previous patch. 2014-10-30 23:59:01 -07:00
Paul Eggert 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