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

3306 Commits

Author SHA1 Message Date
Paul Eggert
e43fc49697 tzselect: -c COORD now supports more ISO 6709 forms
* tzselect.ksh (LC_ALL): Don't set this, so that the user can
use the locale's decimal point in coordinates.
(convert_coord): Rename from cvt1.  All callers changed.
Support more ISO 6709 forms.
* tzselect.8: Document -c better, including the new forms.
2013-08-20 20:22:07 -07:00
Paul Eggert
b383bf6b67 * tzselect.ksh: Compute list of continents from the time zone table,
so that 'tzselect -t time' doesn't create a blind alley for the Arctic.
2013-08-20 12:00:07 -07:00
Paul Eggert
ebdf0c5d0c tzselect: new options -c COORD and -n LIMIT
These let the user select TZ based on geographical coordinates.
Combining '-c COORD' with '-t time' better insulates the user from
issues of nationality.
* tzselect.8 (SYNOPSIS, OPTIONS): Document the new options.
* tzselect.ksh: Implement them, using the great-circle special
case of the Vicenty formula for distances on ellipsoids.
(LC_ALL): Set to C, since tzselect is English only.  That way, we
treat decimal-points in -c option operands the same in all environments.
(usage): Document new options.  Document existing ones better.
(output_distances): New variable.
2013-08-20 00:57:59 -07:00
Paul Eggert
98cf55b78e * date.c (nondigit): Add ATTRIBUTE_PURE, to pacify GCC 4.8.1. 2013-08-16 22:02:27 -07:00
Paul Eggert
e0d4fb5f1e * zdump.c: Minor integer-size porting fixes.
(main): Don't assume SECSPERDAY <= INT_MAX here, since we try
not to assume that sort of thing elsewhere in this file.
Don't rely on undefined behavior in the weird case where
cuthitime < absolute_min_time + SECSPERDAY / 2.
2013-08-16 21:53:37 -07:00
Paul Eggert
a52dc74e57 Fix misspelling in previous change. 2013-08-16 12:27:16 -07:00
Paul Eggert
cc3f93886b Add -t ZONETABTYPE option to 'tzselect'.
This is a backwards-compatible way of transitioning to a less
politically-charged approach to choosing TZ values.  A new time
zone table time.tab acts like zone.tab, except it omits TZ values
that are present only for political reasons.  tzselect has a new
"-t zonetabtype" option that lets users select which time zone table
to use, and installers can select the default table.  The zone.tab
file does not change, and the default tzselect table for now is
zone.tab.  This avoids the backward-compatibility concerns
expressed on the tz mailing list; see, for example,
the discussion surrounding Derick Rethans's comments in
<http://mm.icann.org/pipermail/tz/2013-August/019544.html>
* .gitignore: Add time.tab.
* Makefile (ZONETABTYPE): New macro.
(TABDATA): Add time.tab.
(all): Depend on $(TABDATA).
(install): Do not depend on $(TABDATA), since $(DATA) includes it.
Install time.tab too.
(time.tab): New rule.
(tzselect.tab): Substitute ZONETABTYPE.
* zone-time.awk: New file.
* tzselect.8: Document new options, and --help and --version while
we're at it.
* tzselect.ksh (ZONETABTYPE): New var.
Implement -t ZONETABTYPE option.
Check that no extra operands are given.
* zone.tab: Change first comment line, to distinguish the two
tables better.
2013-08-16 12:19:42 -07:00
Paul Eggert
d58b59dd8a * zone.tab (America/Shiprock): Remove.
This unnecessary duplicate of America/Denver was confusing, as it
incorrectly implied that 'Mountain Time - Navajo' differed from
'Mountain Time' either now or in the past.  Clarify this in a
better way, by mentioning in the Arizona entry that it doesn't
include Navajo.
2013-08-15 17:46:10 -07:00
Paul Eggert
ecb109b11d Further removal of attempt to support floating-point time_t.
* localtime.c (timesub):
* zdump.c (my_localtime): Don't worry about time_t being floating-point.
* localtime.c (timesub): Avoid undefined behavior on integer
overflow when assigning time_t to int.
2013-08-15 14:31:51 -07:00
Paul Eggert
71b6c1b210 * zdump.c: Tune performance of -c with large numbers on 64-bit hosts.
On my platform (Ubuntu 13.04 x86-64, Xeon E3-1225 V2), this sped up
'zdump -V -c 2147483647,2147483648 America/Los_Angeles'
from 13.880 to 0.000 seconds user+system time.
(INTMAX_MAX): Define if the system doesn't.
(SECSPER400YEARS): New macro.
(SECSPER400YEARS_FITS): New constant.
(yeartot): Speed up by using division instead of
repeated subtraction.
2013-08-15 00:30:21 -07:00
Paul Eggert
ee40570d7d Revert most of the recent zone.tab changes.
* iso3166.tab, zone.tab: Make it clear that country codes aren't
necessarily for countries.  Thanks to Derick Rethans for spotting this.
* zone.tab (Antarctica/McMurdo, Europe/Mariehamn, Europe/Sarajevo)
(America/St_Barthelemy, America/Kralendijk, Europe/Busingen)
(Europe/Guernsey, Europe/Zagreb, Europe/Isle_of_Man, Europe/Jersey)
(Europe/Podgorica, America/Marigot, Europe/Skopje, Europe/Ljubljana)
(Arctic/Longyearbyen, Europe/Bratislava, Europe/San_Marino)
(America/Lower_Princes, Europe/Vatican):
Undo recent changes, going back to the way these entries were done
in the last tz distribution.  Only the Antarctica/South_Pole change
was retained.
2013-08-14 12:14:23 -07:00
Paul Eggert
3e53972ea4 * .gitignore: Add 'leapseconds'.
This follows up on the previous change, since 'leapseconds'
is now generated automatically.
2013-08-14 11:58:03 -07:00
Paul Eggert
459b72d3ed Generate the 'leapseconds' file automatically from leap-seconds.list.
* leap-seconds.list: New file, copied from the NIST.
* leapseconds: Remove from git; it's now generated.
* leapseconds.awk: New file.
* Makefile (DATA): Add leap-seconds.list.  Remove leapseconds.
(MISC): Add leapseconds.awk.
(leapseconds): New rule.
(right_posix, posix_right): Depend on leapseconds.
(clean_misc): Remove leapseconds.
2013-08-12 23:58:29 -07:00
Paul Eggert
3cfb933344 Remove attempt to support floating-point time_t.
It wasn't tested and probably never worked, no platform used it,
and the latest POSIX no longer allows it.
* Makefile (typecheck): Don't check time_t being 'double'.
* Theory: Document the change.
* difftime.c (difftime):
* localtime.c (differ_by_repeat, tzload, timesub, time2sub):
* private.h (time_t_min, time_t_max):
* zdump.c (absolute_min_time, absolute_max_time, tformat):
Don't try to support floating-point time_t.
* localtime.c, private.h, zdump.c: Don't include float.h.
* localtime.c (truncate_time, double_to_time):
* private.h (TYPE_INTEGRAL):
* zdump.c (checkabsolutes):
Remove; no longer needed.  All uses removed.
* zdump.8 (LIMITATIONS): Remove discussion of floating-point time_t.
2013-08-12 01:41:34 -07:00
Paul Eggert
4e5dbe1bbf Use symbolic links to deduplicate installed files.
* Makefile (TZDIR_BASENAME): New macro.
(TZDIR): Use it.
(other_two): Remove.
(right_posix, posix_right): Use a symbolic link if supported.
This saves about 2 megabytes' worth of installed files.
2013-08-11 10:14:18 -07:00
Paul Eggert
5903db75e5 Move McMurdo and South Pole to 'backward'.
This continues in the series of moving entries to 'backward' if
they exist only because of obsolete tz rules about country codes.
This change does not affect any time stamps after 1970.  Unlike
the previous change in this series, this one does affect time
stamps before 1970, but that's OK as pre-1970 time stamps are
out of scope for the tz database.
* antarctica (Antarctica/McMurdo, Antarctica/South_Pole):
Move to 'backward' and link to Pacific/Auckland.
* backward: Move links here from 'antarctica'.
* zone.tab: Coalesce McMurdo and South Pole, and add Scott Base
to the description.
2013-08-11 10:06:56 -07:00
Paul Eggert
27722e5ae3 Change Indonesian time zone names to reflect common practice.
* asia (Asia/Dili, Asia/Jakarta, Asia/Pontianak, Asia/Makassar)
(Asia/Jayapura): Use WIB/WITA/WIT rather than WIT/CIT/EIT, since
it's typical to use Indonesian-language abbreviations even when
writing in English.  I surveyed the Internet and Google Books and
found several independent English-language sources using WIB/WITA/WIT,
whereas it seemed only tz-inspired sources used WIT/CIT/EIT.
Problem reported several times, by George Ziegler, Priyadi Iman
Nurcahyo, Zakaria, Jason Grimes, Martin Pitt, and Benny Lin;
see Lin's summary of the reports in
<http://mm.icann.org/pipermail/tz/2013-February/018609.html>.
This change does not affect time zone offsets, just alphabetic
abbreviations, such as tm_zone in the BSD-style struct tm.
(Asia/Jakarta): Use BMT, not JMT, for mean time from 1923 to 1932,
as Jakarta was called Batavia back then.
2013-08-11 08:58:06 -07:00
Paul Eggert
1eef2f6735 * southamerica: Fix misspelling of "Sint Maarten" in comment.
Reported by Philip Newton in
<http://mm.icann.org/pipermail/tz/2013-August/019512.html>.
2013-08-09 09:51:29 -07:00
Paul Eggert
df99923bde Move links to 'backward' if they exist only because of country codes.
* backward: Move links here from other files, if the only reason
they existed was to fill out zone.tab.  Zones are now allowed to
cross national borders, so a zone now need not exist merely
because there's a national border.  Sort the list consistently.
None of this changes any time stamp in the database.
* checktab.awk: Don't require that zone.tab's column 3 be unique.
* europe (Europe/Jersey, Europe/Guernsey, Europe/Isle_of_Man)
(Europe/Mariehamn, Europe/Busingen, Europe/Vatican, Europe/San_Marino)
(Arctic/Longyearbyen, Europe/Ljubljana, Europe/Podgorica)
(Europe/Sarajevo, Europe/Skopje, Europe/Zagreb, Europe/Bratislava):
* northamerica (America/St_Barthelemy, America/Marigot):
* southamerica (America/Lower_Princes, America/Kralendijk):
Move links to 'backward'.
* zone.tab: Give more details about how different rows can have
duplicate column 1 or column 3.  For each link moved to 'backward',
change column 3 to be the non-backward name.
2013-08-09 02:05:40 -07:00
Paul Eggert
b90b803c05 Add FreeBSD-style -r option to 'date'.
* date.1: Document -r.
* date.c (main, usage): Support -r.
(main, reset): Remove EBUG code.
(display): New argument NOW.  Do not exit; that's now the
caller's responsibility.  All callers changed.
(display, timeout, convert, checkfinal, iffy):
Don't assume that localtime and gmtime succeed.
This prevents a core dump for, e.g., 'date -r 0xffffffffffffffff'.
* private.h: Include float.h.
(strtoimax): New macro, for pre-C99 systems that lack strtoimax.
(time_t_min, time_t_max): New constants, from zdump, with
different names to avoid a clash when zdump.c includes private.h.
2013-08-09 02:01:31 -07:00
Paul Eggert
fae3f9c2e8 * localtime.c: Fix integer overflow bug in mktime implementation.
(tmcomp): Don't mess up when atmp->tm_year - btmp->tm_year overflows.
This can happen when mktime is invoked on a struct tm with tm_year
equal to INT_MIN.
2013-08-08 23:55:26 -07:00
Paul Eggert
3e560d0811 * date.c: Pacify GCC 4.7.3.
(atof, getlogin, mktime, strchr, time, strftime):
Remove old-style declarations.  GCC 4.7.3 warns about them,
and they aren't needed nowadays anyway.
(main) [HAVE_SETTIMEOFDAY != 2]: "Use" dsttime and minuteswest
to pacify GCC 4.7.3.
2013-08-08 10:18:15 -07:00
Paul Eggert
8fe97ff3bc * Theory: Document time_t better and update for POSIX.1-2013.
Change "`" to "'"; these days, "`" and "'" are not symmetric.
2013-08-07 17:19:22 -07:00
Paul Eggert
3638e641e8 Don't bother with uintmax_t in previous change.
See the thread starting with Clive D.W. Feather's comments in
<http://mm.icann.org/pipermail/tz/2013-August/019496.html>.
* localtime.c (truncate_time): Don't bother with uintmax_t,
as using it doesn't help on any known platform.
* private.h (UINTMAX_MAX): Remove.
2013-08-07 16:08:39 -07:00
Paul Eggert
b0bf6d8fee Avoid undefined behavior on integer overflow.
Problem reported by Alois Treindl in
<http://mm.icann.org/pipermail/tz/2013-August/019493.html>.
* localtime.c (truncate_time): New function.
(localsub): Use it to avoid undefined behavior on integer overflow.
* private.h (INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX):
New macros, for older platforms that lack them.
2013-08-07 09:03:09 -07:00
Paul Eggert
5ea7a94f6a Revert unintended change to ABI for extern functions.
* localtime.c (offtime, timeoff, gtime): Revert change to ABI, by
going back to 'long' instead of 'int_fast32_t' for types accepted
and returned by extern functions.  Reported by Christos Zoulas in
<http://mm.icann.org/pipermail/tz/2013-July/019488.html>.
2013-07-21 08:24:45 -07:00
Paul Eggert
ba39973190 Rework to avoid bogus warning from clang -Wliteral-conversion.
Reported by Andy Heninger in
<http://mm.icann.org/pipermail/tz/2013-July/019446.html>.
* localtime.c (double_to_time): New function.
(timesub): Use it.
2013-07-08 15:51:18 -07:00
Paul Eggert
8f10e5c535 Release tzcode2013d and tzdata2013d.
* Makefile (VERSION): Increase to 2013d.
2013d
2013-07-05 07:38:01 -07:00
Paul Eggert
4e3a632736 Update link page.
* tz-link.htm: Add commentary section.  Update URLs and titles.
Add links to Firefox OS, Bill Seymour's intro, Jon Udell's appreciation,
W3C's "Working with Time Zones".
2013-07-03 01:31:47 -07:00
Ephraim Silverberg
c7438a6543 Israel now falls back on the last Sunday of October.
* asia (Zion): Change fallback rule for 2013 on to Oct lastSun 2:00.
2013-07-03 00:57:38 -07:00
Paul Eggert
30344f7c14 Move Morocco's midsummer 2013 transitions.
* africa (Morocco): This year's midsummer transitions are
July 7 and August 10, not July 9 and August 8.
Thanks to Andrew Paprocki in
<http://mm.icann.org/pipermail/tz/2013-July/019421.html>.
2013-07-02 23:49:41 -07:00
Paul Eggert
985296c911 * tz-art.htm: A couple more fixes. 2013-05-31 00:48:37 -07:00
Paul Eggert
ea308a6345 Spelling fixes.
Most of these are from Kevin Lyda in
<http://mm.icann.org/pipermail/tz/2013-May/019407.html>,
with a couple more from Jonathan Leffler in
<http://mm.icann.org/pipermail/tz/2013-May/019409.html>.
2013-05-31 00:21:25 -07:00
Paul Eggert
5546a79cea * asia (Asia/Jerusalem): Fix LMT to match more-precise longitude.
Suggested by Tim Parenti in
<http://mm.icann.org/pipermail/tz/2013-May/019410.html>.
2013-05-30 08:54:25 -07:00
Paul Eggert
8b05d8e8ec * zdump.8: Fix minor typos in recent changes. 2013-05-30 00:00:09 -07:00
Paul Eggert
f0133dd86a Port to NetBSD, where, e.g., 'time_t' is wider than 'long'.
I audited the code and fixed as many width-asssumptions as I could
find, including several places where the code assumed that 'time_t'
was no wider than 'long'; this assumption is not true on 32-bit
NetBSD platforms.  This caught every problem that is already fixed
in the NetBSD zic.c, and caught quite a few more.
* Makefile: Add comments re HAVE_DOS_FILE_NAMES and HAVE_INTTYPES_H.
* date.c (checkfinal, netsettime): Don't use 'long' where 'int' will do.
* difftime.c (difftime): Mark with ATTRIBUTE_CONST.
Use uintmax_t, not unsigned long, for the widest unsigned integer type.
Use long double, not double, if time_t is wider than uintmax_t;
this can in theory help on nonstandard platforms, such as GCC
with 64-bit uintmax_t and 128-bit __int128_t.
* localtime.c (struct ttinfo.tt_gmtoff, struct rule.r_time)
(detzcode, getsecs, getoffset, gmtsub, localsub, increment_overflow32)
(normalize_overflow32, time1, time2, timesub, transtime, tzparse)
(time2sub, timeoff, gtime):
* tzfile.h (SECSPERDAY):
* zdump.c (SECSPERDAY):
* zic.c (convert, puttzcode):
Use int_fast32_t, not long, when all we care is that values up to
2**31 can be stored.  This doesn't fix any bugs, but it allows
more opportunity for compiler optimization.
(struct lsinfo.ls_corr, timesub, leapcorr):
Use int_fast64_t, not long, when values up to 2**63 can be stored.
(timesub): Make it clearer when we are truncating 0.5 to 0.
(increment_overflow32): Rename from long_increment_overflow.
All uses changed.
(normalize_overflow32): Rename from long_normalize_overflow.
All uses changed.
* private.h (HAVE_INTTYPES_H, ATTRIBUTE_CONST): New macros.
Include <inttypes.h> if HAVE_INTTYPES_H.
(INT_FAST64_MIN, INT_FAST64_MAX, SCNdFAST64, int_fast32_t, PRIdMAX)
(uintmax_t, PRIuMAX, _Noreturn):
Define to reasonable values if it's an older compiler.
* scheck.c (scheck): Add support for arbitrary formats, such as
those that SCNdFAST64 can expand to, at the price of no longer
supporting weird conversion specs like "%[%]".
* strftime.c (_fmt): Use intmax_t and uintmax_t to format time_t,
not long and unsigned long.
* zdump.c (int_fast32_t, intmax_t, PRIdMAX, SCNdMAX):
Define for pre-C99 compilers, like private.h does.
(delta, yeartot, main): Use intmax_t, not long.
(hunt): Use time_t, not long, since the diff must be nonnegative.
(tformat): Allow for time_t wider than long.
* zic.c (ZIC_MIN, ZIC_MAX, SCNdZIC): New macros.
(OFFSET_STRLEN_MAXIMUM, RULE_STRLEN_MAXIMUM): Remove.
(struct rule): Make r_loyear, r_hiyear, r_tod, r_stdoff, z_gmtoff,
z_stdoff zic_t, not long.
(addtype, gethms, oadd, rpytime, tadd, gmtoffs, corr, inleap)
(stringoffset, stringrule, outzone, addtype, adjleap, rpytime)
(LDAYSPERWEEK):
Use zic_t, not long.
(leapminyear, leapmaxyear, min_year, max_year, rulesub, updateminmax)
(outzone, rpytime):
Use zic_t, not int.
(usage): Now _Noreturn.
(main): Use S_IWGRP, not 'unix', to determine whether to call umask.
(writezone): Omit unnecessary cast.
(mkdirs): Use HAVE_DOS_FILE_NAMES, not 'unix', to determine
whether to parse DOS file anmes.
(eitol): Remove; no longer needed.
2013-05-27 21:26:18 -07:00
Paul Eggert
d3b025adb2 Adjust commentary to try to defuse recent issues somewhat.
This change stemmed from a long discussion on the tz mailing list
about what country the Jerusalem zone entry is in.  The idea of
this change is to deemphasize the role of countries in the tz
database, to lessen the amount of controversy in the future.
Due to backward compatibility concerns this change does not eliminate
the role of countries entirely.  With one minor exception this
change does not alter any code or data, just comments.
* Theory, zone.tab: Deemphasize the role of countries in choosing
location names, as they tend to introduce political conflict
during maintenance, and country information isn't needed for
typical uses of the database.
* Theory: Say that names should differ in more than just case, and why;
and explain why 'backward' means old names will continue to work.
(thanks to Norbert Lindenberg for spotting these issues).
Update citation date and URL.
* iso3166.tab: Mention latest maintenance update.
Update citation URL.  Add missing comma for BQ.
Be more consistent about abbreviating Sint like Saint.
Mention SX "Dutch part" for consistency with MF "French part".
* iso3166.tab, zone.tab: Add legal/territorial disclaimer.
* zone.tab: Say that country/zone overlaps can occur in both
directions, and that column 2 need not lie within column 1.
(Asia/Jerusalem): Change the coordinates from a sloppy value,
taken from an old astrology book, to a more-precise value, the
site of city hall.  The sloppy value sparked some controversy and
the hope is that the more-precise value will be a bit less
controversial.
2013-05-27 18:08:26 -07:00
Paul Eggert
4c43a92919 Add tests for 32- and 64-bit signed and unsigned time_t.
* Makefile (TIME_T_ALTERNATIVES): New macro.
(check_time_t_alternatives, clean_misc): New rules.
(clean): Split out into clean_misc and removing tzpublic.
(public): Add check_time_t.
2013-05-27 14:59:14 -07:00
Paul Eggert
8a883a64cb Add support for testing time_t types other than the system's.
This makes it easier to test on (say) Debian, even if we're
testing the time_t type on (say) NetBSD.  NetBSD uses 64-bit
time_t on 32-bit hosts, and this lets us test a NetBSD-style
implementation (32-bit 'long', 64-bit time_t) on a 32-bit Debian host.
* Makefile: Update comments to talk about TIME_T_FLOATING and time_tz.
Sort the comments.
* private.h (restrict): Define to empty with older compilers.
'restrict' is now needed, to define gmtime_r and localtime_r in
standard ways when time_tz is defined.
Make the following changes if time_tz is defined:
(sys_time, time): New static functions.  The former is the system
'time' function that applies to the system time_t, the latter
our function that applies to our time_t.
(time_t, ctime, ctime_r, difftime, gmtime, gmtime_r, localtime)
(localtime_r, mktime): Rename to tz_time_t, tz_ctime, etc.,
via macros.  Declare the renamed versions.
* zdump.8: Document new options -V, -t.
* zdump.c: Include private.h if time_tz is defined.
(INITIALIZE): Remove; no longer needed.
(absolute_min_time, absolute_max_time): Work even if time_t
is wider than intmax_t, which can be true with GCC and __int128_t.
Use the new TIME_T_FLOATING macro for this.
(usage): Document new flags.
(main): Support them.
2013-05-27 14:59:09 -07:00
Denis Excoffier
13d50f6f74 * Makefile: Remove obsolete NOID comment.
See <http://mm.icann.org/pipermail/tz/2013-May/019291.html>.
2013-05-23 13:01:02 -07:00
Arthur David Olson
fada9b7b05 Rework to avoid problem with Australia/Macquarie on 32-bit hosts.
Problem reported by Alan Gutierrez in
<http://mm.icann.org/pipermail/tz/2013-May/019368.html>.
* australasia (Antarctica/Macquarie): Rework to avoid problem
when combined with older zic + older localtime.
* localtime.c: Rework to avoid problem when combined with
older Antarctica/Macquarie + older zic.
(struct state): New member defaulttype.
(tzload): Set it.
(localsub): Use it.
* zic.c: Rework to avoid problem when combined with
older Antarctica/Macquarie + older zic.
(writezone): Potentially, set type 0 to that of lowest-valued time.
(outzone): Reserve type 0.
2013-05-23 12:21:02 -07:00
Paul Eggert
bc0d28a763 Update URL for CLDR Zone->Tzid table.
* tz-link.htm: Fix link.  Problem eported by Yoshito Umaoka in
<http://mm.icann.org/pipermail/tz/2013-May/019284.html>.
2013-05-10 11:22:21 -07:00
Paul Eggert
f599ad15ce Release tzcode2013c and tzdata2013c.
* Makefile (VERSION): Increase to 2013c.
2013c
2013-04-19 16:17:40 -07:00
Paul Eggert
188b29d966 Fix times of habitation for Macquarie to agree with Tasmania history.
Also, sort Macquarie more-consistently with other parts of Australia.
This doesn't affect time stamps, just zone selection.
Problems reported by Tim Parenti in
<http://mm.icann.org/pipermail/tz/2013-April/019060.html>.
* australasia (Antarctica/Macquarie): Tasmania Parks & Wildlife Service
history indicates that permanent habitation was 1899-1918 and 1948 on.
* zone.tab (Antarctica/Macquarie): Move next to Lord Howe and Tasmania.
2013-04-17 09:23:34 -07:00
Paul Eggert
a676f5ad3b Macquarie Island is politically part of Australia, not Antarctica.
This doesn't affect time stamps, just zone selection.
Problem reported by Tobias Conradi in
<http://mm.icann.org/pipermail/tz/2013-April/019023.html>.
* antarctica (AusAQ, ATAQ): Remove; no longer needed.
* australasia (Antarctica/Macquarie): Move here from
the 'antarctica' file.  Use Aus and AT rather than
AusAQ and ATAQ.
* zone.tab (Antarctica/Macquarie): Country code AU, not AQ.
2013-04-15 00:00:01 -07:00
Paul Eggert
65da15f972 Palestine observes DST starting March 29, 2013 (reworked).
Thanks to Steffen Thorsen, in
<http://mm.icann.org/pipermail/tz/2013-March/018812.html>.
An earlier version of this patch was mistaken.
Thanks to Petr Machata for reporting some of the bugs, in
<http://mm.icann.org/pipermail/tz/2013-March/018814.html>.

* asia (Palestine, Asia/Gaza, Asia/Hebron): Incorporates the latest info
from timeanddate.com about Palestine.  When combined with the previous
(incorrect) patch this incorporates the following changes for Gaza and
Hebron:

  The spring 2008 change in Gaza and Hebron was on 00:00 Mar 28, not
  00:00 Apr 1.

  The fall 2009 change in Gaza and Hebron on Sep 4 was at 01:00, not
  02:00.

  The spring 2010 change in Hebron was 00:00 Mar 26, not 00:01 Mar 27.
  timeanddate.com's table says 02:00, but the text at
  <http://www.timeanddate.com/news/time/gaza-and-west-bank-dst-2010.html>
  says 00:00.

  The spring 2011 change in Gaza was 00:01 Apr 1, not 12:01 Apr 2.
  timeanddate's table says 00:00, but the text at
  <http://www.timeanddate.com/news/time/west-bank-starts-dst-2011.html>
  says 00:01.

  The spring 2011 change in Hebron on Apr 1 was at 00:01, not 12:01.

  The fall 2011 change in Hebron on Sep 30 was at 00:00, not 03:00.

  From 2013 on, Gaza and Hebron both observe DST, with the predicted
  rules being the last Thursday in March at 24:00 to the first Friday on
  or after September 21 at 01:00.
2013-04-14 23:39:54 -07:00
Paul Eggert
63814cf0a8 Palestine observes DST starting March 29, 2013.
Thanks to Steffen Thorsen, in
<http://mm.icann.org/pipermail/tz/2013-March/018812.html>.
* asia (Palestine): Add rules for 2011 on, to simplify Gaza and Hebron.
Adjust to recently announced changed.
(Asia/Gaza, Asia/Hebron): Use adjusted rules.
2013-03-26 14:23:08 -07:00
Paul Eggert
0a700f096a Assume Paraguay change is permanent.
* southamerica (Para): Move end of DST to the 4th Sunday in March
every year.  Suggested by Carlos Raúl Perasso in
<http://mm.icann.org/pipermail/tz/2013-March/018788.html>.
2013-03-15 12:26:57 -07:00
Paul Eggert
014d6f775d Release tzcode2013b and tzdata2013b.
* Makefile (VERSION): Increase to 2013b.
2013b
2013-03-10 22:33:40 -07:00
Paul Eggert
6b8911ccc3 Update URLs in tz-link page.
* tz-link.htm: Add URLs for webOS, BB10, iOS.  Update URL for Solaris.
Mention Internet RFC 6557.  Update Internet RFCs 2445->5545,
2822->5322.  Switch from FTP to HTTP for Internet RFCs.
2013-03-10 22:29:53 -07:00