Skip to content

Commit d9d474f

Browse files
author
GitHub Actions
committed
Update tzdata and zoneinfo to version 2018h.
1 parent 72ecd72 commit d9d474f

30 files changed

+1569
-215
lines changed

tzdata/Makefile

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -380,15 +380,18 @@ AWK= awk
380380
# is typically nicer if it works.
381381
KSHELL= /bin/bash
382382

383+
# Name of curl <https://curl.haxx.se/>, used for HTML validation.
384+
CURL= curl
385+
383386
# The path where SGML DTDs are kept and the catalog file(s) to use when
384-
# validating. The default should work on both Debian and Red Hat.
387+
# validating HTML 4.01. The default should work on both Debian and Red Hat.
385388
SGML_TOPDIR= /usr
386389
SGML_DTDDIR= $(SGML_TOPDIR)/share/xml/w3c-sgml-lib/schema/dtd
387390
SGML_SEARCH_PATH= $(SGML_DTDDIR)/REC-html401-19991224
388391
SGML_CATALOG_FILES= \
389392
$(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
390393

391-
# The name, arguments and environment of a program to validate your web pages.
394+
# The name, arguments and environment of a program to validate HTML 4.01.
392395
# See <http://openjade.sourceforge.net/doc/> for a validator, and
393396
# <https://validator.w3.org/source/> for a validation library.
394397
# Set VALIDATE=':' if you do not have such a program.
@@ -488,6 +491,7 @@ MANTXTS= newctime.3.txt newstrftime.3.txt newtzset.3.txt \
488491
COMMON= calendars CONTRIBUTING LICENSE Makefile \
489492
NEWS README theory.html version
490493
WEB_PAGES= tz-art.html tz-how-to.html tz-link.html
494+
CHECK_WEB_PAGES=check_tz-art.html check_tz-how-to.html check_tz-link.html
491495
DOCS= $(MANS) date.1 $(MANTXTS) $(WEB_PAGES)
492496
PRIMARY_YDATA= africa antarctica asia australasia \
493497
europe northamerica southamerica
@@ -799,9 +803,15 @@ check_tzs: $(TZS) $(TZS_NEW)
799803
fi
800804
touch $@
801805
802-
# This checks only the HTML 4.01 strict page.
803-
# To check the the other pages, use <https://validator.w3.org/>.
804-
check_web: tz-how-to.html
806+
check_web: $(CHECK_WEB_PAGES)
807+
check_tz-art.html: tz-art.html
808+
check_tz-link.html: tz-link.html
809+
check_tz-art.html check_tz-link.html:
810+
$(CURL) -sS --url https://validator.w3.org/nu/ -F out=gnu \
811+
-F file=@$$(expr $@ : 'check_\(.*\)') -o $@.out && \
812+
test ! -s $@.out || { cat $@.out; exit 1; }
813+
mv $@.out $@
814+
check_tz-how-to.html: tz-how-to.html
805815
$(VALIDATE_ENV) $(VALIDATE) $(VALIDATE_FLAGS) tz-how-to.html
806816
touch $@
807817
@@ -1068,7 +1078,7 @@ zic.o: private.h tzfile.h version.h
10681078
10691079
.PHONY: ALL INSTALL all
10701080
.PHONY: check check_time_t_alternatives
1071-
.PHONY: check_zishrink
1081+
.PHONY: check_web check_zishrink
10721082
.PHONY: clean clean_misc dummy.zd force_tzs
10731083
.PHONY: install install_data maintainer-clean names
10741084
.PHONY: posix_only posix_packrat posix_right public

tzdata/NEWS

Lines changed: 81 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,91 @@
11
News for the tz database
22

3+
Release 2018h - 2018-12-23 17:59:32 -0800
4+
5+
Briefly:
6+
Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21.
7+
New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move.
8+
Metlakatla, Alaska observes PST this winter only.
9+
Guess Morocco will continue to adjust clocks around Ramadan.
10+
Add predictions for Iran from 2038 through 2090.
11+
12+
Changes to future timestamps
13+
14+
Guess that Morocco will continue to fall back just before and
15+
spring forward just after Ramadan, the practice since 2012.
16+
(Thanks to Maamar Abdelkader.) This means Morocco will observe
17+
negative DST during Ramadan in main and vanguard formats, and in
18+
rearguard format it stays in the +00 timezone and observes
19+
ordinary DST in all months other than Ramadan. As before, extend
20+
this guesswork to the year 2037. As a consequence, Morocco is
21+
scheduled to observe three DST transitions in some Gregorian years
22+
(e.g., 2033) due to the mismatch between the Gregorian and Islamic
23+
calendars.
24+
25+
The table of exact transitions for Iranian DST has been extended.
26+
It formerly cut off before the year 2038 in a nod to 32-bit time_t.
27+
It now cuts off before 2091 as there is doubt about how the Persian
28+
calendar will treat 2091. This change predicts DST transitions in
29+
2038-9, 2042-3, and 2046-7 to occur one day later than previously
30+
predicted. As before, post-cutoff transitions are approximated.
31+
32+
Changes to past and future timestamps
33+
34+
Qyzylorda (aka Kyzylorda) oblast in Kazakhstan moved from +06 to
35+
+05 on 2018-12-21. This is a zone split as Qostanay (aka
36+
Kostanay) did not switch, so create a zone Asia/Qostanay.
37+
38+
Metlakatla moved from Alaska to Pacific standard time on 2018-11-04.
39+
It did not change clocks that day and remains on -08 this winter.
40+
(Thanks to Ryan Stanley.) It will revert to the usual Alaska
41+
rules next spring, so this change affects only timestamps
42+
from 2018-11-04 through 2019-03-10.
43+
44+
Change to past timestamps
45+
46+
Kwajalein's 1993-08-20 transition from -12 to +12 was at 24:00,
47+
not 00:00. I transcribed the time incorrectly from Shanks.
48+
(Thanks to Phake Nick.)
49+
50+
Nauru's 1979 transition was on 02-10 at 02:00, not 05-01 at 00:00.
51+
(Thanks to Phake Nick.)
52+
53+
Guam observed DST irregularly from 1959 through 1977.
54+
(Thanks to Phake Nick.)
55+
56+
Hong Kong observed DST in 1941 starting 06-15 (not 04-01), then on
57+
10-01 changed standard time to +08:30 (not +08). Its transition
58+
back to +08 after WWII was on 1945-09-15, not the previous day.
59+
Its 1904-10-30 change took effect at 01:00 +08 (not 00:00 LMT).
60+
(Thanks to Phake Nick, Steve Allen, and Joseph Myers.) Also,
61+
its 1952 fallback was on 11-02 (not 10-25).
62+
63+
This release contains many changes to timestamps before 1946 due
64+
to Japanese possession or occupation of Pacific/Chuuk,
65+
Pacific/Guam, Pacific/Kosrae, Pacific/Kwajalein, Pacific/Majuro,
66+
Pacific/Nauru, Pacific/Palau, and Pacific/Pohnpei.
67+
(Thanks to Phake Nick.)
68+
69+
Assume that the Spanish East Indies was like the Philippines and
70+
observed American time until the end of 1844. This affects
71+
Pacific/Chuuk, Pacific/Kosrae, Pacific/Palau, and Pacific/Pohnpei.
72+
73+
Changes to past tm_isdst flags
74+
75+
For the recent Morocco change, the tm_isdst flag should be 1 from
76+
2018-10-27 00:00 to 2018-10-28 03:00. (Thanks to Michael Deckers.)
77+
Give a URL to the official decree. (Thanks to Matt Johnson.)
78+
79+
380
Release 2018g - 2018-10-26 22:22:45 -0700
481

582
Briefly:
6-
Morocco switches to permanent +01 on 2018-10-27.
83+
Morocco switches to permanent +01 on 2018-10-28.
784

885
Changes to future timestamps
986

10-
Morocco switches from +00/+01 to permanent +01 effective 2018-10-27,
11-
so its clocks will not fall back on 2018-10-28 as previously scheduled.
87+
Morocco switches from +00/+01 to permanent +01 effective 2018-10-28,
88+
so its clocks will not fall back as previously scheduled.
1289
(Thanks to Mohamed Essedik Najd and Brian Inglis.)
1390

1491
Changes to code
@@ -119,7 +196,7 @@ Release 2018f - 2018-10-18 00:14:18 -0700
119196
localtime.c no longer ignores TZif POSIX-style TZ strings that
120197
specify only standard time. Instead, these TZ strings now
121198
override the default time type for timestamps after the last
122-
transition (or for all time stamps if there are no transitions),
199+
transition (or for all timestamps if there are no transitions),
123200
just as DST strings specifying DST have always done.
124201

125202
leapseconds.awk now outputs "#updated" and "#expires" comments,

tzdata/africa

Lines changed: 79 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -847,8 +847,41 @@ Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
847847
# From Mohamed Essedik Najd (2018-10-26):
848848
# Today, a Moroccan government council approved the perpetual addition
849849
# of 60 minutes to the regular Moroccan timezone.
850-
# From Brian Inglis (2018-10-26):
851-
# http://www.maroc.ma/fr/actualites/le-conseil-de-gouvernement-adopte-un-projet-de-decret-relatif-lheure-legale-stipulant-le
850+
# From Matt Johnson (2018-10-28):
851+
# http://www.sgg.gov.ma/Portals/1/BO/2018/BO_6720-bis_Ar.pdf
852+
#
853+
# From Maamar Abdelkader (2018-11-01):
854+
# We usually move clocks back the previous week end and come back to the +1
855+
# the week end after.... The government does not announce yet the decision
856+
# about this temporary change. But it s 99% sure that it will be the case,
857+
# as in previous years. An unofficial survey was done these days, showing
858+
# that 64% of asked peopke are ok for moving from +1 to +0 during Ramadan.
859+
# https://leconomiste.com/article/1035870-enquete-l-economiste-sunergia-64-des-marocains-plebiscitent-le-gmt-pendant-ramadan
860+
#
861+
# From Paul Eggert (2018-11-01):
862+
# For now, guess that Morocco will fall back at 03:00 the last Sunday
863+
# before Ramadan, and spring forward at 02:00 the first Sunday after
864+
# Ramadan, as this has been the practice since 2012. To implement this,
865+
# transition dates for 2019 through 2037 were determined by running the
866+
# following program under GNU Emacs 26.1.
867+
# (let ((islamic-year 1440))
868+
# (require 'cal-islam)
869+
# (while (< islamic-year 1460)
870+
# (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
871+
# (b (calendar-islamic-to-absolute (list 10 1 islamic-year)))
872+
# (sunday 0))
873+
# (while (/= sunday (mod (setq a (1- a)) 7)))
874+
# (while (/= sunday (mod b 7))
875+
# (setq b (1+ b)))
876+
# (setq a (calendar-gregorian-from-absolute a))
877+
# (setq b (calendar-gregorian-from-absolute b))
878+
# (insert
879+
# (format
880+
# (concat "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 3:00\t-1:00\t-\n"
881+
# "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 2:00\t0\t-\n")
882+
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
883+
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
884+
# (setq islamic-year (+ 1 islamic-year))))
852885

853886
# RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S
854887
Rule Morocco 1939 only - Sep 12 0:00 1:00 -
@@ -892,13 +925,53 @@ Rule Morocco 2017 only - May 21 3:00 0 -
892925
Rule Morocco 2017 only - Jul 2 2:00 1:00 -
893926
Rule Morocco 2018 only - May 13 3:00 0 -
894927
Rule Morocco 2018 only - Jun 17 2:00 1:00 -
928+
Rule Morocco 2019 only - May 5 3:00 -1:00 -
929+
Rule Morocco 2019 only - Jun 9 2:00 0 -
930+
Rule Morocco 2020 only - Apr 19 3:00 -1:00 -
931+
Rule Morocco 2020 only - May 24 2:00 0 -
932+
Rule Morocco 2021 only - Apr 11 3:00 -1:00 -
933+
Rule Morocco 2021 only - May 16 2:00 0 -
934+
Rule Morocco 2022 only - Mar 27 3:00 -1:00 -
935+
Rule Morocco 2022 only - May 8 2:00 0 -
936+
Rule Morocco 2023 only - Mar 19 3:00 -1:00 -
937+
Rule Morocco 2023 only - Apr 23 2:00 0 -
938+
Rule Morocco 2024 only - Mar 10 3:00 -1:00 -
939+
Rule Morocco 2024 only - Apr 14 2:00 0 -
940+
Rule Morocco 2025 only - Feb 23 3:00 -1:00 -
941+
Rule Morocco 2025 only - Apr 6 2:00 0 -
942+
Rule Morocco 2026 only - Feb 15 3:00 -1:00 -
943+
Rule Morocco 2026 only - Mar 22 2:00 0 -
944+
Rule Morocco 2027 only - Feb 7 3:00 -1:00 -
945+
Rule Morocco 2027 only - Mar 14 2:00 0 -
946+
Rule Morocco 2028 only - Jan 23 3:00 -1:00 -
947+
Rule Morocco 2028 only - Feb 27 2:00 0 -
948+
Rule Morocco 2029 only - Jan 14 3:00 -1:00 -
949+
Rule Morocco 2029 only - Feb 18 2:00 0 -
950+
Rule Morocco 2029 only - Dec 30 3:00 -1:00 -
951+
Rule Morocco 2030 only - Feb 10 2:00 0 -
952+
Rule Morocco 2030 only - Dec 22 3:00 -1:00 -
953+
Rule Morocco 2031 only - Jan 26 2:00 0 -
954+
Rule Morocco 2031 only - Dec 14 3:00 -1:00 -
955+
Rule Morocco 2032 only - Jan 18 2:00 0 -
956+
Rule Morocco 2032 only - Nov 28 3:00 -1:00 -
957+
Rule Morocco 2033 only - Jan 9 2:00 0 -
958+
Rule Morocco 2033 only - Nov 20 3:00 -1:00 -
959+
Rule Morocco 2033 only - Dec 25 2:00 0 -
960+
Rule Morocco 2034 only - Nov 5 3:00 -1:00 -
961+
Rule Morocco 2034 only - Dec 17 2:00 0 -
962+
Rule Morocco 2035 only - Oct 28 3:00 -1:00 -
963+
Rule Morocco 2035 only - Dec 2 2:00 0 -
964+
Rule Morocco 2036 only - Oct 19 3:00 -1:00 -
965+
Rule Morocco 2036 only - Nov 23 2:00 0 -
966+
Rule Morocco 2037 only - Oct 4 3:00 -1:00 -
967+
Rule Morocco 2037 only - Nov 15 2:00 0 -
895968

896969
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
897970
Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
898971
0:00 Morocco +00/+01 1984 Mar 16
899972
1:00 - +01 1986
900-
0:00 Morocco +00/+01 2018 Oct 27
901-
1:00 - +01
973+
0:00 Morocco +00/+01 2018 Oct 28 3:00
974+
1:00 Morocco +01/+00
902975

903976
# Western Sahara
904977
#
@@ -913,8 +986,8 @@ Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
913986

914987
Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan # El Aaiún
915988
-1:00 - -01 1976 Apr 14
916-
0:00 Morocco +00/+01 2018 Oct 27
917-
1:00 - +01
989+
0:00 Morocco +00/+01 2018 Oct 28 3:00
990+
1:00 Morocco +01/+00
918991

919992
# Mozambique
920993
#

0 commit comments

Comments
 (0)