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 tzdata2018g from ftp:/...



details:   https://anonhg.NetBSD.org/src/rev/44fee34a376c
branches:  trunk
changeset: 445405:44fee34a376c
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Oct 27 20:26:38 2018 +0000

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

Summary of changes in tzdata2018g (2018-10-26 22:22:45 -0700):

    Morocco switches to permanent +01 on 2018-10-27.

diffstat:

 external/public-domain/tz/dist/NEWS         |  35 ++++++++++
 external/public-domain/tz/dist/africa       |  96 +++++++++-------------------
 external/public-domain/tz/dist/europe       |   3 +-
 external/public-domain/tz/dist/northamerica |  17 ++++-
 external/public-domain/tz/dist/theory.html  |   2 +-
 external/public-domain/tz/dist/version      |   2 +-
 external/public-domain/tz/dist/ziguard.awk  |   7 ++
 external/public-domain/tz/dist/zishrink.awk |   5 -
 8 files changed, 92 insertions(+), 75 deletions(-)

diffs (279 lines):

diff -r d7f8d1e76104 -r 44fee34a376c external/public-domain/tz/dist/NEWS
--- a/external/public-domain/tz/dist/NEWS       Sat Oct 27 13:26:23 2018 +0000
+++ b/external/public-domain/tz/dist/NEWS       Sat Oct 27 20:26:38 2018 +0000
@@ -1,5 +1,40 @@
 News for the tz database
 
+Release 2018g - 2018-10-26 22:22:45 -0700
+
+  Briefly:
+    Morocco switches to permanent +01 on 2018-10-27.
+
+  Changes to future timestamps
+
+    Morocco switches from +00/+01 to permanent +01 effective 2018-10-27,
+    so its clocks will not fall back on 2018-10-28 as previously scheduled.
+    (Thanks to Mohamed Essedik Najd and Brian Inglis.)
+
+  Changes to code
+
+    When generating TZif files with leap seconds, zic no longer uses a
+    format that trips up older 32-bit clients, fixing a bug introduced
+    in 2018f.  (Reported by Daniel Fischer.)  Also, the zic workaround
+    for QTBUG-53071 now also works for TZif files with leap seconds.
+
+    The translator to rearguard format now rewrites the line
+    "Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S" to
+    "Rule Japan 1948 1951 - Sep Sun>=9  1:00 0 S".
+    This caters to zic before 2007 and to Oracle TZUpdater 2.2.0
+    and earlier.  (Reported by Christos Zoulas.)
+
+  Changes to past time zone abbreviations
+
+    Change HDT to HWT/HPT for WWII-era abbreviations in Hawaii.
+    This reverts to 2011h, as the abbreviation change in 2011i was
+    likely inadvertent.
+
+  Changes to documentation
+
+    tzfile.5 has new sections on interoperability issues.
+
+
 Release 2018f - 2018-10-18 00:14:18 -0700
 
   Briefly:
diff -r d7f8d1e76104 -r 44fee34a376c external/public-domain/tz/dist/africa
--- a/external/public-domain/tz/dist/africa     Sat Oct 27 13:26:23 2018 +0000
+++ b/external/public-domain/tz/dist/africa     Sat Oct 27 20:26:38 2018 +0000
@@ -844,94 +844,61 @@
 # <https://lnt.ma/le-maroc-reculera-dune-heure-le-dimanche-14-juin/> agrees
 # with the patch.
 
-# From Paul Eggert (2015-06-08):
-# For now, guess that later spring and fall transitions will use 2015's rules,
-# and guess that Morocco will switch to standard time at 03:00 the last
-# Sunday before Ramadan, and back to DST at 02:00 the first Sunday after
-# Ramadan.  To implement this, transition dates for 2016 through 2037 were
-# determined by running the following program under GNU Emacs 24.3, with the
-# results integrated by hand into the table below.
-# (let ((islamic-year 1437))
-#   (require 'cal-islam)
-#   (while (< islamic-year 1460)
-#     (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
-#           (b (calendar-islamic-to-absolute (list 10 1 islamic-year)))
-#           (sunday 0))
-#       (while (/= sunday (mod (setq a (1- a)) 7)))
-#       (while (/= sunday (mod b 7))
-#         (setq b (1+ b)))
-#       (setq a (calendar-gregorian-from-absolute a))
-#       (setq b (calendar-gregorian-from-absolute b))
-#       (insert
-#        (format
-#         (concat "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 3:00\t0\t-\n"
-#                 "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 2:00\t1:00\tS\n")
-#         (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
-#         (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
-#     (setq islamic-year (+ 1 islamic-year))))
+# From Mohamed Essedik Najd (2018-10-26):
+# Today, a Moroccan government council approved the perpetual addition
+# of 60 minutes to the regular Moroccan timezone.
+# From Brian Inglis (2018-10-26):
+# http://www.maroc.ma/fr/actualites/le-conseil-de-gouvernement-adopte-un-projet-de-decret-relatif-lheure-legale-stipulant-le
 
 # RULE NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER/S
-
-Rule   Morocco 1939    only    -       Sep     12       0:00   1:00    S
+Rule   Morocco 1939    only    -       Sep     12       0:00   1:00    -
 Rule   Morocco 1939    only    -       Nov     19       0:00   0       -
-Rule   Morocco 1940    only    -       Feb     25       0:00   1:00    S
+Rule   Morocco 1940    only    -       Feb     25       0:00   1:00    -
 Rule   Morocco 1945    only    -       Nov     18       0:00   0       -
-Rule   Morocco 1950    only    -       Jun     11       0:00   1:00    S
+Rule   Morocco 1950    only    -       Jun     11       0:00   1:00    -
 Rule   Morocco 1950    only    -       Oct     29       0:00   0       -
-Rule   Morocco 1967    only    -       Jun      3      12:00   1:00    S
+Rule   Morocco 1967    only    -       Jun      3      12:00   1:00    -
 Rule   Morocco 1967    only    -       Oct      1       0:00   0       -
-Rule   Morocco 1974    only    -       Jun     24       0:00   1:00    S
+Rule   Morocco 1974    only    -       Jun     24       0:00   1:00    -
 Rule   Morocco 1974    only    -       Sep      1       0:00   0       -
-Rule   Morocco 1976    1977    -       May      1       0:00   1:00    S
+Rule   Morocco 1976    1977    -       May      1       0:00   1:00    -
 Rule   Morocco 1976    only    -       Aug      1       0:00   0       -
 Rule   Morocco 1977    only    -       Sep     28       0:00   0       -
-Rule   Morocco 1978    only    -       Jun      1       0:00   1:00    S
+Rule   Morocco 1978    only    -       Jun      1       0:00   1:00    -
 Rule   Morocco 1978    only    -       Aug      4       0:00   0       -
-Rule   Morocco 2008    only    -       Jun      1       0:00   1:00    S
+Rule   Morocco 2008    only    -       Jun      1       0:00   1:00    -
 Rule   Morocco 2008    only    -       Sep      1       0:00   0       -
-Rule   Morocco 2009    only    -       Jun      1       0:00   1:00    S
+Rule   Morocco 2009    only    -       Jun      1       0:00   1:00    -
 Rule   Morocco 2009    only    -       Aug     21       0:00   0       -
-Rule   Morocco 2010    only    -       May      2       0:00   1:00    S
+Rule   Morocco 2010    only    -       May      2       0:00   1:00    -
 Rule   Morocco 2010    only    -       Aug      8       0:00   0       -
-Rule   Morocco 2011    only    -       Apr      3       0:00   1:00    S
+Rule   Morocco 2011    only    -       Apr      3       0:00   1:00    -
 Rule   Morocco 2011    only    -       Jul     31       0:00   0       -
-Rule   Morocco 2012    2013    -       Apr     lastSun  2:00   1:00    S
+Rule   Morocco 2012    2013    -       Apr     lastSun  2:00   1:00    -
 Rule   Morocco 2012    only    -       Jul     20       3:00   0       -
-Rule   Morocco 2012    only    -       Aug     20       2:00   1:00    S
+Rule   Morocco 2012    only    -       Aug     20       2:00   1:00    -
 Rule   Morocco 2012    only    -       Sep     30       3:00   0       -
 Rule   Morocco 2013    only    -       Jul      7       3:00   0       -
-Rule   Morocco 2013    only    -       Aug     10       2:00   1:00    S
-Rule   Morocco 2013    max     -       Oct     lastSun  3:00   0       -
-Rule   Morocco 2014    2021    -       Mar     lastSun  2:00   1:00    S
+Rule   Morocco 2013    only    -       Aug     10       2:00   1:00    -
+Rule   Morocco 2013    2018    -       Oct     lastSun  3:00   0       -
+Rule   Morocco 2014    2018    -       Mar     lastSun  2:00   1:00    -
 Rule   Morocco 2014    only    -       Jun     28       3:00   0       -
-Rule   Morocco 2014    only    -       Aug      2       2:00   1:00    S
+Rule   Morocco 2014    only    -       Aug      2       2:00   1:00    -
 Rule   Morocco 2015    only    -       Jun     14       3:00   0       -
-Rule   Morocco 2015    only    -       Jul     19       2:00   1:00    S
+Rule   Morocco 2015    only    -       Jul     19       2:00   1:00    -
 Rule   Morocco 2016    only    -       Jun      5       3:00   0       -
-Rule   Morocco 2016    only    -       Jul     10       2:00   1:00    S
+Rule   Morocco 2016    only    -       Jul     10       2:00   1:00    -
 Rule   Morocco 2017    only    -       May     21       3:00   0       -
-Rule   Morocco 2017    only    -       Jul      2       2:00   1:00    S
+Rule   Morocco 2017    only    -       Jul      2       2:00   1:00    -
 Rule   Morocco 2018    only    -       May     13       3:00   0       -
-Rule   Morocco 2018    only    -       Jun     17       2:00   1:00    S
-Rule   Morocco 2019    only    -       May      5       3:00   0       -
-Rule   Morocco 2019    only    -       Jun      9       2:00   1:00    S
-Rule   Morocco 2020    only    -       Apr     19       3:00   0       -
-Rule   Morocco 2020    only    -       May     24       2:00   1:00    S
-Rule   Morocco 2021    only    -       Apr     11       3:00   0       -
-Rule   Morocco 2021    only    -       May     16       2:00   1:00    S
-Rule   Morocco 2022    only    -       May      8       2:00   1:00    S
-Rule   Morocco 2023    only    -       Apr     23       2:00   1:00    S
-Rule   Morocco 2024    only    -       Apr     14       2:00   1:00    S
-Rule   Morocco 2025    only    -       Apr      6       2:00   1:00    S
-Rule   Morocco 2026    max     -       Mar     lastSun  2:00   1:00    S
-Rule   Morocco 2036    only    -       Oct     19       3:00   0       -
-Rule   Morocco 2037    only    -       Oct      4       3:00   0       -
+Rule   Morocco 2018    only    -       Jun     17       2:00   1:00    -
 
 # Zone NAME            GMTOFF  RULES   FORMAT  [UNTIL]
 Zone Africa/Casablanca -0:30:20 -      LMT     1913 Oct 26
-                        0:00   Morocco WE%sT   1984 Mar 16
-                        1:00   -       CET     1986
-                        0:00   Morocco WE%sT
+                        0:00   Morocco +00/+01 1984 Mar 16
+                        1:00   -       +01     1986
+                        0:00   Morocco +00/+01 2018 Oct 27
+                        1:00   -       +01
 
 # Western Sahara
 #
@@ -946,7 +913,8 @@
 
 Zone Africa/El_Aaiun   -0:52:48 -      LMT     1934 Jan # El Aaiún
                        -1:00   -       -01     1976 Apr 14
-                        0:00   Morocco WE%sT
+                        0:00   Morocco +00/+01 2018 Oct 27
+                        1:00   -       +01
 
 # Mozambique
 #
diff -r d7f8d1e76104 -r 44fee34a376c external/public-domain/tz/dist/europe
--- a/external/public-domain/tz/dist/europe     Sat Oct 27 13:26:23 2018 +0000
+++ b/external/public-domain/tz/dist/europe     Sat Oct 27 20:26:38 2018 +0000
@@ -3440,7 +3440,8 @@
 #Rule NatSpain 1937    only    -       May     22      23:00   1:00    S
 #Rule NatSpain 1937    1938    -       Oct     Sat>=1  24:00s  0       -
 #Rule NatSpain 1938    only    -       Mar     26      23:00   1:00    S
-# The following rules are copied from Morocco from 1967 through 1978.
+# The following rules are copied from Morocco from 1967 through 1978,
+# except with "S" letters.
 Rule SpainAfrica 1967  only    -       Jun      3      12:00   1:00    S
 Rule SpainAfrica 1967  only    -       Oct      1       0:00   0       -
 Rule SpainAfrica 1974  only    -       Jun     24       0:00   1:00    S
diff -r d7f8d1e76104 -r 44fee34a376c external/public-domain/tz/dist/northamerica
--- a/external/public-domain/tz/dist/northamerica       Sat Oct 27 13:26:23 2018 +0000
+++ b/external/public-domain/tz/dist/northamerica       Sat Oct 27 20:26:38 2018 +0000
@@ -439,6 +439,19 @@
 # western South Dakota, far western Texas (El Paso County, Hudspeth County,
 # and Pine Springs and Nickel Creek in Culberson County), Utah, Wyoming
 #
+# From Paul Eggert (2018-10-25):
+# On 1921-03-04 federal law placed all of Texas into the central time zone.
+# However, El Paso ignored the law for decades and continued to observe
+# mountain time, on the grounds that that's what they had always done
+# and they weren't about to let the federal government tell them what to do.
+# Eventually the federal government gave in and changed the law on
+# 1970-04-10 to match what El Paso was actually doing.  Although
+# that's slightly after our 1970 cutoff, there is no need to create a
+# separate zone for El Paso since they were ignoring the law anyway.  See:
+# Long T. El Pasoans were time rebels, fought to stay in Mountain zone.
+# El Paso Times. 2018-10-24 06:40 -06.
+# https://www.elpasotimes.com/story/news/local/el-paso/2018/10/24/el-pasoans-were-time-rebels-fought-stay-mountain-zone/1744509002/
+#
 # Rule NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER
 Rule   Denver  1920    1921    -       Mar     lastSun 2:00    1:00    D
 Rule   Denver  1920    only    -       Oct     lastSun 2:00    0       S
@@ -708,9 +721,7 @@
 Zone Pacific/Honolulu  -10:31:26 -     LMT     1896 Jan 13 12:00
                        -10:30  -       HST     1933 Apr 30  2:00
                        -10:30  1:00    HDT     1933 May 21 12:00
-                       -10:30  -       HST     1942 Feb  9  2:00
-                       -10:30  1:00    HDT     1945 Sep 30  2:00
-                       -10:30  -       HST     1947 Jun  8  2:00
+                       -10:30  US      H%sT    1947 Jun  8  2:00
                        -10:00  -       HST
 
 # Now we turn to US areas that have diverged from the consensus since 1970.
diff -r d7f8d1e76104 -r 44fee34a376c external/public-domain/tz/dist/theory.html
--- a/external/public-domain/tz/dist/theory.html        Sat Oct 27 13:26:23 2018 +0000
+++ b/external/public-domain/tz/dist/theory.html        Sat Oct 27 20:26:38 2018 +0000
@@ -407,7 +407,7 @@
       EST/EDT/EWT/EPT/EDDT Eastern [North America],
       EET/EEST Eastern European,
       GST Guam,
-      HST/HDT Hawaii,
+      HST/HDT/HWT/HPT Hawaii,
       HKT/HKST Hong Kong,
       IST India,
       IST/GMT Irish,
diff -r d7f8d1e76104 -r 44fee34a376c external/public-domain/tz/dist/version
--- a/external/public-domain/tz/dist/version    Sat Oct 27 13:26:23 2018 +0000
+++ b/external/public-domain/tz/dist/version    Sat Oct 27 20:26:38 2018 +0000
@@ -1,1 +1,1 @@
-2018f
+2018g
diff -r d7f8d1e76104 -r 44fee34a376c external/public-domain/tz/dist/ziguard.awk
--- a/external/public-domain/tz/dist/ziguard.awk        Sat Oct 27 13:26:23 2018 +0000
+++ b/external/public-domain/tz/dist/ziguard.awk        Sat Oct 27 20:26:38 2018 +0000
@@ -80,6 +80,13 @@
   if (comment_out) {
     sub(/^/, "#")
   }
+
+  # In rearguard format, change the Japan rule line with "Sat>=8 25:00"
+  # to "Sun>=9 1:00", to cater to zic before 2007 and to older Java.
+  if (!vanguard && $1 == "Rule" && $7 == "Sat>=8" && $8 == "25:00") {
+    sub(/Sat>=8/, "Sun>=9")
+    sub(/25:00/, " 1:00")
+  }
 }
 
 # If a Link line is followed by a Zone line for the same data, comment
diff -r d7f8d1e76104 -r 44fee34a376c external/public-domain/tz/dist/zishrink.awk
--- a/external/public-domain/tz/dist/zishrink.awk       Sat Oct 27 13:26:23 2018 +0000
+++ b/external/public-domain/tz/dist/zishrink.awk       Sat Oct 27 20:26:38 2018 +0000
@@ -172,11 +172,6 @@
     if (line ~ /^R /) return
     line = substr(line, 1, RSTART) substr(line, RSTART + 5)
   }
-  # Replace SpainAfrica rules with Morocco, as they are duplicates.
-  if (match(line, / SpainAfrica /)) {
-    if (line ~ /^R /) return
-    line = substr(line, 1, RSTART) "Morocco" substr(line, RSTART + RLENGTH - 1)
-  }
 
   # Abbreviate times.
   while (match(line, /[: ]0+[0-9]/))



Home | Main Index | Thread Index | Old Index