Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/tz/dist Import tzdata2019a from ftp:/...



details:   https://anonhg.NetBSD.org/src/rev/f09fdcad7d5c
branches:  trunk
changeset: 449847:f09fdcad7d5c
user:      kre <kre%NetBSD.org@localhost>
date:      Tue Mar 26 10:06:10 2019 +0000

description:
Import tzdata2019a from ftp://ftp.iana.org/tz/releases/tzdata2019a.tar.gz

Release 20198 - 2019-03-25 22:01:33 -0700

  Briefly:
    Palestine summer time starts on 2019-03-30 instead of 2019-03-23.
    Metlakatla switched back to rejoin Alaska Time on 2019-01-20 at 02:00.

    Israel observed summer time in 1980 (08-02/09-13) and 1984 (05-05/08-25).

    Etc/UCT is now a backward-compatibility link to Etc/UTC, instead
    of being a separate zone that generates the abbreviation "UCT".

diffstat:

 external/public-domain/tz/dist/Makefile          |   29 ++++--
 external/public-domain/tz/dist/NEWS              |   53 ++++++++++-
 external/public-domain/tz/dist/README            |    4 +-
 external/public-domain/tz/dist/africa            |   10 +-
 external/public-domain/tz/dist/asia              |   42 ++++++++-
 external/public-domain/tz/dist/backward          |    3 +-
 external/public-domain/tz/dist/backzone          |    4 +-
 external/public-domain/tz/dist/etcetera          |    1 -
 external/public-domain/tz/dist/europe            |    4 +-
 external/public-domain/tz/dist/iso3166.tab       |    8 +-
 external/public-domain/tz/dist/leap-seconds.list |    8 +-
 external/public-domain/tz/dist/leapseconds       |    6 +-
 external/public-domain/tz/dist/northamerica      |   11 ++-
 external/public-domain/tz/dist/theory.html       |  107 +++++++++++++++-------
 external/public-domain/tz/dist/version           |    2 +-
 15 files changed, 215 insertions(+), 77 deletions(-)

diffs (truncated from 643 to 300 lines):

diff -r 5fd4b4aaf9d2 -r f09fdcad7d5c external/public-domain/tz/dist/Makefile
--- a/external/public-domain/tz/dist/Makefile   Tue Mar 26 09:58:20 2019 +0000
+++ b/external/public-domain/tz/dist/Makefile   Tue Mar 26 10:06:10 2019 +0000
@@ -12,7 +12,10 @@
 # Email address for bug reports.
 BUGEMAIL=      tz%iana.org@localhost
 
-# Choose source data features.  To get new features right away, use:
+# DATAFORM selects the data format.
+# Available formats represent essentially the same data, albeit
+# possibly with minor discrepancies that users are not likely to notice.
+# To get new features and the best data right away, use:
 #      DATAFORM=       vanguard
 # To wait a while before using new features, to give downstream users
 # time to upgrade zic (the default), use:
@@ -33,11 +36,11 @@
 LOCALTIME=     GMT
 
 # If you want something other than Eastern United States time as a template
-# for handling POSIX-style timezone environment variables,
+# for handling ruleless POSIX-style timezone environment variables,
 # change the line below (after finding the timezone you want in the
 # one of the $(TDATA) source files, or adding it to a source file).
-# When a POSIX-style environment variable is handled, the rules in the
-# template file are used to determine "spring forward" and "fall back" days and
+# A ruleless environment setting like TZ='CST6CDT' uses the rules in the
+# template file to determine "spring forward" and "fall back" days and
 # times; the environment variable itself specifies UT offsets of standard and
 # daylight saving time.
 # Alternatively, if you discover you've got the wrong timezone, you can just
@@ -46,7 +49,6 @@
 # Use the command
 #      make zonenames
 # to get a list of the values you can use for POSIXRULES.
-# If you want POSIX compatibility, use "America/New_York".
 
 POSIXRULES=    America/New_York
 
@@ -113,8 +115,8 @@
 TIME_T_ALTERNATIVES_HEAD = int64_t
 TIME_T_ALTERNATIVES_TAIL = int32_t uint32_t uint64_t
 
-# What kind of TZif data files to generate.
-# (TZif is the binary time zone data format that zic generates.)
+# What kind of TZif data files to generate.  (TZif is the binary time
+# zone data format that zic generates; see Internet RFC 8536.)
 # If you want only POSIX time, with time values interpreted as
 # seconds since the epoch (not counting leap seconds), use
 #      REDO=           posix_only
@@ -360,6 +362,9 @@
 zic=           ./zic
 ZIC=           $(zic) $(ZFLAGS)
 
+# To shrink the size of installed TZif files,
+# append "-r @N" to omit data before N-seconds-after-the-Epoch.
+# See the zic man page for more about -r.
 ZFLAGS=
 
 # How to use zic to install TZif files.
@@ -491,7 +496,8 @@
 COMMON=                calendars CONTRIBUTING LICENSE Makefile \
                        NEWS README theory.html version
 WEB_PAGES=     tz-art.html tz-how-to.html tz-link.html
-CHECK_WEB_PAGES=check_tz-art.html check_tz-how-to.html check_tz-link.html
+CHECK_WEB_PAGES=check_theory.html check_tz-art.html \
+                       check_tz-how-to.html check_tz-link.html
 DOCS=          $(MANS) date.1 $(MANTXTS) $(WEB_PAGES)
 PRIMARY_YDATA= africa antarctica asia australasia \
                europe northamerica southamerica
@@ -804,9 +810,10 @@
                touch $@
 
 check_web:     $(CHECK_WEB_PAGES)
+check_theory.html: theory.html
 check_tz-art.html: tz-art.html
 check_tz-link.html: tz-link.html
-check_tz-art.html check_tz-link.html:
+check_theory.html check_tz-art.html check_tz-link.html:
                $(CURL) -sS --url https://validator.w3.org/nu/ -F out=gnu \
                    -F file=@$$(expr $@ : 'check_\(.*\)') -o $@.out && \
                  test ! -s $@.out || { cat $@.out; exit 1; }
@@ -840,11 +847,13 @@
                touch $@
 
 clean_misc:
+               rm -fr check_*.dir
                rm -f *.o *.out $(TIME_T_ALTERNATIVES) \
                  check_* core typecheck_* \
                  date tzselect version.h zdump zic yearistype libtz.a
 clean:         clean_misc
-               rm -fr *.dir *.zi tzdb-*/ $(TZS_NEW)
+               rm -fr *.dir tzdb-*/
+               rm -f *.zi $(TZS_NEW)
 
 maintainer-clean: clean
                @echo 'This command is intended for maintainers to use; it'
diff -r 5fd4b4aaf9d2 -r f09fdcad7d5c external/public-domain/tz/dist/NEWS
--- a/external/public-domain/tz/dist/NEWS       Tue Mar 26 09:58:20 2019 +0000
+++ b/external/public-domain/tz/dist/NEWS       Tue Mar 26 10:06:10 2019 +0000
@@ -1,5 +1,53 @@
 News for the tz database
 
+Release 20198 - 2019-03-25 22:01:33 -0700
+
+  Briefly:
+    Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
+    Metlakatla "fell back" to rejoin Alaska Time on 2019-01-20 at 02:00.
+
+  Changes to past and future timestamps
+
+    Palestine will not start DST until 2019-03-30, instead of 2019-03-23 as
+    previously predicted.  Adjust our prediction by guessing that spring
+    transitions will be between 24 and 30 March, which matches recent practice
+    since 2016.  (Thanks to Even Scharning and Tim Parenti.)
+
+    Metlakatla ended its observance of Pacific standard time,
+    rejoining Alaska Time, on 2019-01-20 at 02:00.  (Thanks to Ryan
+    Stanley and Tim Parenti.)
+
+  Changes to past timestamps
+
+    Israel observed DST in 1980 (08-02/09-13) and 1984 (05-05/08-25).
+    (Thanks to Alois Treindl and Isaac Starkman.)
+
+  Changes to time zone abbreviations
+
+    Etc/UCT is now a backward-compatibility link to Etc/UTC, instead
+    of being a separate zone that generates the abbreviation "UCT",
+    which nowadays is typically a typo.  (Problem reported by Isiah
+    Meadows.)
+
+  Changes to code
+
+    zic now has an -r option to limit the time range of output data.
+    For example, 'zic -r @1000000000' limits the output data to
+    timestamps starting 1000000000 seconds after the Epoch.
+    This helps shrink output size and can be useful for applications
+    not needing the full timestamp history, such as TZDIST truncation;
+    see Internet RFC 8536 section 5.1.  (Inspired by a feature request
+    from Christopher Wong, helped along by bug reports from Wong and
+    from Tim Parenti.)
+
+  Changes to documentation
+
+    Mention Internet RFC 8536 (February 2019), which documents TZif.
+
+    tz-link.html now cites tzdata-meta
+    <https://tzdata-meta.timtimeonline.com/>.
+
+
 Release 2018i - 2018-12-30 11:05:43 -0800
 
   Briefly:
@@ -400,8 +448,9 @@
       downstream parsers do not support it.
 
     * The build procedure constructs three files vanguard.zi, main.zi,
-      and rearguard.zi, one for each format.  The files represent the
-      same data as closely as the formats allow.  These three files
+      and rearguard.zi, one for each format.  Although the files
+      represent essentially the same data, they may have minor
+      discrepancies that users are not likely to notice.  The files
       are intended for downstream data consumers and are not
       installed.  Zoneinfo parsers that do not support negative SAVE values
       should start using rearguard.zi, so that they will be unaffected
diff -r 5fd4b4aaf9d2 -r f09fdcad7d5c external/public-domain/tz/dist/README
--- a/external/public-domain/tz/dist/README     Tue Mar 26 09:58:20 2019 +0000
+++ b/external/public-domain/tz/dist/README     Tue Mar 26 10:06:10 2019 +0000
@@ -1,7 +1,7 @@
 README for the tz distribution
 
-"What time is it?" -- Richard Deacon as The King
-"Any time you want it to be." -- Frank Baxter as The Scientist
+"Where do I set the hands of the clock?" -- Les Tremayne as The King
+"Oh that--you can set them any place you want." -- Frank Baxter as The Scientist
                                        (from the Bell System film "About Time")
 
 The Time Zone Database (called tz, tzdb or zoneinfo) contains code and
diff -r 5fd4b4aaf9d2 -r f09fdcad7d5c external/public-domain/tz/dist/africa
--- a/external/public-domain/tz/dist/africa     Tue Mar 26 09:58:20 2019 +0000
+++ b/external/public-domain/tz/dist/africa     Tue Mar 26 10:06:10 2019 +0000
@@ -364,6 +364,11 @@
 # See Africa/Lagos.
 
 # Eritrea
+# See Africa/Nairobi.
+
+# Eswatini (formerly Swaziland)
+# See Africa/Johannesburg.
+
 # Ethiopia
 # See Africa/Nairobi.
 #
@@ -1188,7 +1193,7 @@
                        1:30    -       SAST    1903 Mar
                        2:00    SA      SAST
 Link Africa/Johannesburg Africa/Maseru    # Lesotho
-Link Africa/Johannesburg Africa/Mbabane    # Swaziland
+Link Africa/Johannesburg Africa/Mbabane    # Eswatini
 #
 # Marion and Prince Edward Is
 # scientific station since 1947
@@ -1230,9 +1235,6 @@
                        2:00    Sudan   CA%sT   2000 Jan 15 12:00
                        3:00    -       EAT
 
-# Swaziland
-# See Africa/Johannesburg.
-
 # Tanzania
 # See Africa/Nairobi.
 
diff -r 5fd4b4aaf9d2 -r f09fdcad7d5c external/public-domain/tz/dist/asia
--- a/external/public-domain/tz/dist/asia       Tue Mar 26 09:58:20 2019 +0000
+++ b/external/public-domain/tz/dist/asia       Tue Mar 26 10:06:10 2019 +0000
@@ -1620,6 +1620,24 @@
 Rule   Zion    1974    only    -       Oct     13      0:00    0       S
 Rule   Zion    1975    only    -       Apr     20      0:00    1:00    D
 Rule   Zion    1975    only    -       Aug     31      0:00    0       S
+
+# From Alois Treindl (2019-03-06):
+# http://www.moin.gov.il/Documents/שע×?×;? ק×?×¥/clock-50-years-7-2014.pdf
+# From Isaac Starkman (2019-03-06):
+# Summer time was in that period in 1980 and 1984, see
+# https://www.ynet.co.il/articles/0,7340,L-3951073,00.html
+# You can of course read it in translation.
+# I checked the local newspapers for that years.
+# It started on midnight and end at 01.00 am.
+# From Paul Eggert (2019-03-06):
+# Also see this thread about the moin.gov.il URL:
+# https://mm.icann.org/pipermail/tz/2018-November/027194.html
+Rule   Zion    1980    only    -       Aug      2      0:00    1:00    D
+Rule   Zion    1980    only    -       Sep     13      1:00    0       S
+Rule   Zion    1984    only    -       May      5      0:00    1:00    D
+Rule   Zion    1984    only    -       Aug     25      1:00    0       S
+
+# From Shanks & Pottenger:
 Rule   Zion    1985    only    -       Apr     14      0:00    1:00    D
 Rule   Zion    1985    only    -       Sep     15      0:00    0       S
 Rule   Zion    1986    only    -       May     18      0:00    1:00    D
@@ -3071,9 +3089,15 @@
 # the official website, though the decree did not specify the exact
 # time of the time shift.
 # http://www.palestinecabinet.gov.ps/Website/AR/NDecrees/ViewFile.ashx?ID=e7a42ab7-ee23-435a-b9c8-a4f7e81f3817
+
+# From Even Scharning (2019-03-23):
+# DST in Palestine will start on 30 March this year, not 23 March as the time
+# zone database predicted.
+# https://ramallah.news/post/123610
 #
-# From Paul Eggert (2018-03-16):
-# For 2016 on, predict spring transitions on March's fourth Saturday at 01:00.
+# From Tim Parenti (2019-03-23):
+# Combining this with the rules observed since 2016, adjust our spring
+# transition guess to Mar Sat>=24.
 
 # Rule NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER/S
 Rule EgyptAsia 1957    only    -       May     10      0:00    1:00    S
@@ -3104,7 +3128,7 @@
 Rule Palestine 2013    only    -       Sep     Fri>=21 0:00    0       -
 Rule Palestine 2014    2015    -       Oct     Fri>=21 0:00    0       -
 Rule Palestine 2015    only    -       Mar     lastFri 24:00   1:00    S
-Rule Palestine 2016    max     -       Mar     Sat>=22 1:00    1:00    S
+Rule Palestine 2016    max     -       Mar     Sat>=24 1:00    1:00    S
 Rule Palestine 2016    max     -       Oct     lastSat 1:00    0       -
 
 # Zone NAME            GMTOFF  RULES   FORMAT  [UNTIL]
@@ -3596,5 +3620,17 @@
                        8:00    -       +08     1975 Jun 13
                        7:00    -       +07
 
+# From Paul Eggert (2019-02-19):
+#
+# The Ho Chi Minh entry suffices for most purposes as it agrees with all of
+# Vietnam since 1975-06-13.  Presumably clocks often changed in south Vietnam
+# in the early 1970s as locations changed hands during the war; however the
+# details are unknown and would likely be too voluminous for this database.
+#
+# For timestamps in north Vietnam back to 1970 (the tzdb cutoff),
+# use Asia/Bangkok; see the VN entries in the file zone1970.tab.
+# For timestamps before 1970, see Asia/Hanoi in the file 'backzone'.
+
+
 # Yemen
 # See Asia/Riyadh.
diff -r 5fd4b4aaf9d2 -r f09fdcad7d5c external/public-domain/tz/dist/backward
--- a/external/public-domain/tz/dist/backward   Tue Mar 26 09:58:20 2019 +0000
+++ b/external/public-domain/tz/dist/backward   Tue Mar 26 10:06:10 2019 +0000
@@ -77,6 +77,7 @@
 Link   America/Havana          Cuba
 Link   Africa/Cairo            Egypt
 Link   Europe/Dublin           Eire
+Link   Etc/UTC                 Etc/UCT
 Link   Europe/London           Europe/Belfast
 Link   Europe/Chisinau         Europe/Tiraspol
 Link   Europe/London           GB
@@ -111,7 +112,7 @@
 Link   Asia/Seoul              ROK
 Link   Asia/Singapore          Singapore
 Link   Europe/Istanbul         Turkey



Home | Main Index | Thread Index | Old Index