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



details:   https://anonhg.NetBSD.org/src/rev/aa000af47bb3
branches:  trunk
changeset: 838002:aa000af47bb3
user:      kre <kre%NetBSD.org@localhost>
date:      Sun Dec 30 00:40:41 2018 +0000

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

Summary of changes in tzdata2018h (2018-12-23 17:59:32 -0800):

    Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
    +05 on 2018-12-21.  This is a zone split as Qostanay (aka
    Kostanay) did not switch, so create a zone Asia/Qostanay.

    Metlakatla, Alaska observes PST this winter only.

    Add predictions for Iran from 2038 through 2090.

    Changes to some old timestamps for Nauru (1979) Guam (1959-77),
    Hong Kong (1904, 1941, 1945, 1952) (others in Pacific during WWII)

diffstat:

 external/public-domain/tz/dist/Makefile        |   22 +-
 external/public-domain/tz/dist/NEWS            |   85 ++++-
 external/public-domain/tz/dist/africa          |   85 ++++-
 external/public-domain/tz/dist/asia            |  437 ++++++++++++++++++------
 external/public-domain/tz/dist/australasia     |  281 ++++++++++++++-
 external/public-domain/tz/dist/leapseconds     |    5 +-
 external/public-domain/tz/dist/leapseconds.awk |    5 +-
 external/public-domain/tz/dist/northamerica    |   29 +
 external/public-domain/tz/dist/theory.html     |    7 +-
 external/public-domain/tz/dist/version         |    2 +-
 external/public-domain/tz/dist/ziguard.awk     |   19 +-
 external/public-domain/tz/dist/zone.tab        |    3 +-
 external/public-domain/tz/dist/zone1970.tab    |    3 +-
 13 files changed, 817 insertions(+), 166 deletions(-)

diffs (truncated from 1426 to 300 lines):

diff -r fbcf5c3bba8b -r aa000af47bb3 external/public-domain/tz/dist/Makefile
--- a/external/public-domain/tz/dist/Makefile   Sat Dec 29 23:06:42 2018 +0000
+++ b/external/public-domain/tz/dist/Makefile   Sun Dec 30 00:40:41 2018 +0000
@@ -380,15 +380,18 @@
 # is typically nicer if it works.
 KSHELL=                /bin/bash
 
+# Name of curl <https://curl.haxx.se/>, used for HTML validation.
+CURL=          curl
+
 # The path where SGML DTDs are kept and the catalog file(s) to use when
-# validating.  The default should work on both Debian and Red Hat.
+# validating HTML 4.01.  The default should work on both Debian and Red Hat.
 SGML_TOPDIR= /usr
 SGML_DTDDIR= $(SGML_TOPDIR)/share/xml/w3c-sgml-lib/schema/dtd
 SGML_SEARCH_PATH= $(SGML_DTDDIR)/REC-html401-19991224
 SGML_CATALOG_FILES= \
   $(SGML_TOPDIR)/share/doc/w3-recs/html/www.w3.org/TR/1999/REC-html401-19991224/HTML4.cat:$(SGML_TOPDIR)/share/sgml/html/4.01/HTML4.cat
 
-# The name, arguments and environment of a program to validate your web pages.
+# The name, arguments and environment of a program to validate HTML 4.01.
 # See <http://openjade.sourceforge.net/doc/> for a validator, and
 # <https://validator.w3.org/source/> for a validation library.
 # Set VALIDATE=':' if you do not have such a program.
@@ -488,6 +491,7 @@
 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
 DOCS=          $(MANS) date.1 $(MANTXTS) $(WEB_PAGES)
 PRIMARY_YDATA= africa antarctica asia australasia \
                europe northamerica southamerica
@@ -799,9 +803,15 @@
                fi
                touch $@
 
-# This checks only the HTML 4.01 strict page.
-# To check the the other pages, use <https://validator.w3.org/>.
-check_web:     tz-how-to.html
+check_web:     $(CHECK_WEB_PAGES)
+check_tz-art.html: tz-art.html
+check_tz-link.html: tz-link.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; }
+               mv $@.out $@
+check_tz-how-to.html: tz-how-to.html
                $(VALIDATE_ENV) $(VALIDATE) $(VALIDATE_FLAGS) tz-how-to.html
                touch $@
 
@@ -1068,7 +1078,7 @@
 
 .PHONY: ALL INSTALL all
 .PHONY: check check_time_t_alternatives
-.PHONY: check_zishrink
+.PHONY: check_web check_zishrink
 .PHONY: clean clean_misc dummy.zd force_tzs
 .PHONY: install install_data maintainer-clean names
 .PHONY: posix_only posix_packrat posix_right public
diff -r fbcf5c3bba8b -r aa000af47bb3 external/public-domain/tz/dist/NEWS
--- a/external/public-domain/tz/dist/NEWS       Sat Dec 29 23:06:42 2018 +0000
+++ b/external/public-domain/tz/dist/NEWS       Sun Dec 30 00:40:41 2018 +0000
@@ -1,14 +1,91 @@
 News for the tz database
 
+Release 2018h - 2018-12-23 17:59:32 -0800
+
+  Briefly:
+    Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
+    New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
+    Metlakatla, Alaska observes PST this winter only.
+    Guess Morocco will continue to adjust clocks around Ramadan.
+    Add predictions for Iran from 2038 through 2090.
+
+  Changes to future timestamps
+
+    Guess that Morocco will continue to fall back just before and
+    spring forward just after Ramadan, the practice since 2012.
+    (Thanks to Maamar Abdelkader.)  This means Morocco will observe
+    negative DST during Ramadan in main and vanguard formats, and in
+    rearguard format it stays in the +00 timezone and observes
+    ordinary DST in all months other than Ramadan.  As before, extend
+    this guesswork to the year 2037.  As a consequence, Morocco is
+    scheduled to observe three DST transitions in some Gregorian years
+    (e.g., 2033) due to the mismatch between the Gregorian and Islamic
+    calendars.
+
+    The table of exact transitions for Iranian DST has been extended.
+    It formerly cut off before the year 2038 in a nod to 32-bit time_t.
+    It now cuts off before 2091 as there is doubt about how the Persian
+    calendar will treat 2091.  This change predicts DST transitions in
+    2038-9, 2042-3, and 2046-7 to occur one day later than previously
+    predicted.  As before, post-cutoff transitions are approximated.
+
+  Changes to past and future timestamps
+
+    Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
+    +05 on 2018-12-21.  This is a zone split as Qostanay (aka
+    Kostanay) did not switch, so create a zone Asia/Qostanay.
+
+    Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
+    It did not change clocks that day and remains on -08 this winter.
+    (Thanks to Ryan Stanley.)  It will revert to the usual Alaska
+    rules next spring, so this change affects only timestamps
+    from 2018-11-04 through 2019-03-10.
+
+  Change to past timestamps
+
+    Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
+    not 00:00.  I transcribed the time incorrectly from Shanks.
+    (Thanks to Phake Nick.)
+
+    Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
+    (Thanks to Phake Nick.)
+
+    Guam observed DST irregularly from 1959 through 1977.
+    (Thanks to Phake Nick.)
+
+    Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
+    10-01 changed standard time to +08:30 (not +08).  Its transition
+    back to +08 after WWII was on 1945-09-15, not the previous day.
+    Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
+    (Thanks to Phake Nick, Steve Allen, and Joseph Myers.)  Also,
+    its 1952 fallback was on 11-02 (not 10-25).
+
+    This release contains many changes to timestamps before 1946 due
+    to Japanese possession or occupation of Pacific/Chuuk,
+    Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
+    Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
+    (Thanks to Phake Nick.)
+
+    Assume that the Spanish East Indies was like the Philippines and
+    observed American time until the end of 1844.  This affects
+    Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.
+
+  Changes to past tm_isdst flags
+
+    For the recent Morocco change, the tm_isdst flag should be 1 from
+    2018-10-27 00:00 to 2018-10-28 03:00.  (Thanks to Michael Deckers.)
+    Give a URL to the official decree.  (Thanks to Matt Johnson.)
+
+
 Release 2018g - 2018-10-26 22:22:45 -0700
 
   Briefly:
-    Morocco switches to permanent +01 on 2018-10-27.
+    Morocco switches to permanent +01 on 2018-10-28.
 
   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.
+    Morocco switches from +00/+01 to permanent +01 effective 2018-10-28,
+    so its clocks will not fall back as previously scheduled.
     (Thanks to Mohamed Essedik Najd and Brian Inglis.)
 
   Changes to code
@@ -119,7 +196,7 @@
     localtime.c no longer ignores TZif POSIX-style TZ strings that
     specify only standard time.  Instead, these TZ strings now
     override the default time type for timestamps after the last
-    transition (or for all time stamps if there are no transitions),
+    transition (or for all timestamps if there are no transitions),
     just as DST strings specifying DST have always done.
 
     leapseconds.awk now outputs "#updated" and "#expires" comments,
diff -r fbcf5c3bba8b -r aa000af47bb3 external/public-domain/tz/dist/africa
--- a/external/public-domain/tz/dist/africa     Sat Dec 29 23:06:42 2018 +0000
+++ b/external/public-domain/tz/dist/africa     Sun Dec 30 00:40:41 2018 +0000
@@ -847,8 +847,41 @@
 # 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
+# From Matt Johnson (2018-10-28):
+# http://www.sgg.gov.ma/Portals/1/BO/2018/BO_6720-bis_Ar.pdf
+#
+# From Maamar Abdelkader (2018-11-01):
+# We usually move clocks back the previous week end and come back to the +1
+# the week end after....  The government does not announce yet the decision
+# about this temporary change.  But it s 99% sure that it will be the case,
+# as in previous years.  An unofficial survey was done these days, showing
+# that 64% of asked peopke are ok for moving from +1 to +0 during Ramadan.
+# https://leconomiste.com/article/1035870-enquete-l-economiste-sunergia-64-des-marocains-plebiscitent-le-gmt-pendant-ramadan
+#
+# From Paul Eggert (2018-11-01):
+# For now, guess that Morocco will fall back at 03:00 the last Sunday
+# before Ramadan, and spring forward at 02:00 the first Sunday after
+# Ramadan, as this has been the practice since 2012.  To implement this,
+# transition dates for 2019 through 2037 were determined by running the
+# following program under GNU Emacs 26.1.
+# (let ((islamic-year 1440))
+#   (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\t-1:00\t-\n"
+#                 "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 2:00\t0\t-\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))))
 
 # RULE NAME    FROM    TO      TYPE    IN      ON      AT      SAVE    LETTER/S
 Rule   Morocco 1939    only    -       Sep     12       0:00   1:00    -
@@ -892,13 +925,53 @@
 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    -
+Rule   Morocco 2019    only    -       May      5       3:00   -1:00   -
+Rule   Morocco 2019    only    -       Jun      9       2:00   0       -
+Rule   Morocco 2020    only    -       Apr     19       3:00   -1:00   -
+Rule   Morocco 2020    only    -       May     24       2:00   0       -
+Rule   Morocco 2021    only    -       Apr     11       3:00   -1:00   -
+Rule   Morocco 2021    only    -       May     16       2:00   0       -
+Rule   Morocco 2022    only    -       Mar     27       3:00   -1:00   -
+Rule   Morocco 2022    only    -       May      8       2:00   0       -
+Rule   Morocco 2023    only    -       Mar     19       3:00   -1:00   -
+Rule   Morocco 2023    only    -       Apr     23       2:00   0       -
+Rule   Morocco 2024    only    -       Mar     10       3:00   -1:00   -
+Rule   Morocco 2024    only    -       Apr     14       2:00   0       -
+Rule   Morocco 2025    only    -       Feb     23       3:00   -1:00   -
+Rule   Morocco 2025    only    -       Apr      6       2:00   0       -
+Rule   Morocco 2026    only    -       Feb     15       3:00   -1:00   -
+Rule   Morocco 2026    only    -       Mar     22       2:00   0       -
+Rule   Morocco 2027    only    -       Feb      7       3:00   -1:00   -
+Rule   Morocco 2027    only    -       Mar     14       2:00   0       -
+Rule   Morocco 2028    only    -       Jan     23       3:00   -1:00   -
+Rule   Morocco 2028    only    -       Feb     27       2:00   0       -
+Rule   Morocco 2029    only    -       Jan     14       3:00   -1:00   -
+Rule   Morocco 2029    only    -       Feb     18       2:00   0       -
+Rule   Morocco 2029    only    -       Dec     30       3:00   -1:00   -
+Rule   Morocco 2030    only    -       Feb     10       2:00   0       -
+Rule   Morocco 2030    only    -       Dec     22       3:00   -1:00   -
+Rule   Morocco 2031    only    -       Jan     26       2:00   0       -
+Rule   Morocco 2031    only    -       Dec     14       3:00   -1:00   -
+Rule   Morocco 2032    only    -       Jan     18       2:00   0       -
+Rule   Morocco 2032    only    -       Nov     28       3:00   -1:00   -
+Rule   Morocco 2033    only    -       Jan      9       2:00   0       -
+Rule   Morocco 2033    only    -       Nov     20       3:00   -1:00   -
+Rule   Morocco 2033    only    -       Dec     25       2:00   0       -
+Rule   Morocco 2034    only    -       Nov      5       3:00   -1:00   -
+Rule   Morocco 2034    only    -       Dec     17       2:00   0       -
+Rule   Morocco 2035    only    -       Oct     28       3:00   -1:00   -
+Rule   Morocco 2035    only    -       Dec      2       2:00   0       -
+Rule   Morocco 2036    only    -       Oct     19       3:00   -1:00   -
+Rule   Morocco 2036    only    -       Nov     23       2:00   0       -
+Rule   Morocco 2037    only    -       Oct      4       3:00   -1:00   -
+Rule   Morocco 2037    only    -       Nov     15       2:00   0       -
 
 # Zone NAME            GMTOFF  RULES   FORMAT  [UNTIL]
 Zone Africa/Casablanca -0:30:20 -      LMT     1913 Oct 26
                         0:00   Morocco +00/+01 1984 Mar 16
                         1:00   -       +01     1986
-                        0:00   Morocco +00/+01 2018 Oct 27
-                        1:00   -       +01
+                        0:00   Morocco +00/+01 2018 Oct 28  3:00
+                        1:00   Morocco +01/+00
 
 # Western Sahara
 #
@@ -913,8 +986,8 @@
 
 Zone Africa/El_Aaiun   -0:52:48 -      LMT     1934 Jan # El Aaiún
                        -1:00   -       -01     1976 Apr 14
-                        0:00   Morocco +00/+01 2018 Oct 27
-                        1:00   -       +01
+                        0:00   Morocco +00/+01 2018 Oct 28  3:00
+                        1:00   Morocco +01/+00
 
 # Mozambique
 #
diff -r fbcf5c3bba8b -r aa000af47bb3 external/public-domain/tz/dist/asia
--- a/external/public-domain/tz/dist/asia       Sat Dec 29 23:06:42 2018 +0000
+++ b/external/public-domain/tz/dist/asia       Sun Dec 30 00:40:41 2018 +0000
@@ -586,12 +586,82 @@
 # obtained from
 # http://www.hko.gov.hk/gts/time/Summertime.htm
 
-# From Arthur David Olson (2009-10-28):
+# From Phake Nick (2018-10-27):
+# According to Singaporean newspaper
+# http://eresources.nlb.gov.sg/newspapers/Digitised/Article/singfreepresswk19041102-1.2.37
+# the day that Hong Kong start using GMT+8 should be Oct 30, 1904.
+#
+# From Paul Eggert (2018-11-17):
+# Hong Kong had a time ball near the Marine Police Station, Tsim Sha Tsui.
+# "The ball was raised manually each day and dropped at exactly 1pm
+# (except on Sundays and Government holidays)."
+# Dyson AD. From Time Ball to Atomic Clock. Hong Kong Government. 1983.
+# <https://www.hko.gov.hk/publica/gen_pub/timeball_atomic_clock.pdf>



Home | Main Index | Thread Index | Old Index