Skip to content

Commit c91782a

Browse files
author
GitHub Actions
committed
Update tzdata and zoneinfo to version 2019a.
1 parent 0e3fbc9 commit c91782a

File tree

23 files changed

+237
-111
lines changed

23 files changed

+237
-111
lines changed

tzdata/Makefile

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ VERSION= unknown
1212
# Email address for bug reports.
1313
1414

15-
# Choose source data features. To get new features right away, use:
15+
# DATAFORM selects the data format.
16+
# Available formats represent essentially the same data, albeit
17+
# possibly with minor discrepancies that users are not likely to notice.
18+
# To get new features and the best data right away, use:
1619
# DATAFORM= vanguard
1720
# To wait a while before using new features, to give downstream users
1821
# time to upgrade zic (the default), use:
@@ -33,11 +36,11 @@ DATAFORM= main
3336
LOCALTIME= GMT
3437

3538
# If you want something other than Eastern United States time as a template
36-
# for handling POSIX-style timezone environment variables,
39+
# for handling ruleless POSIX-style timezone environment variables,
3740
# change the line below (after finding the timezone you want in the
3841
# one of the $(TDATA) source files, or adding it to a source file).
39-
# When a POSIX-style environment variable is handled, the rules in the
40-
# template file are used to determine "spring forward" and "fall back" days and
42+
# A ruleless environment setting like TZ='CST6CDT' uses the rules in the
43+
# template file to determine "spring forward" and "fall back" days and
4144
# times; the environment variable itself specifies UT offsets of standard and
4245
# daylight saving time.
4346
# Alternatively, if you discover you've got the wrong timezone, you can just
@@ -46,7 +49,6 @@ LOCALTIME= GMT
4649
# Use the command
4750
# make zonenames
4851
# to get a list of the values you can use for POSIXRULES.
49-
# If you want POSIX compatibility, use "America/New_York".
5052

5153
POSIXRULES= America/New_York
5254

@@ -113,8 +115,8 @@ TIME_T_ALTERNATIVES = $(TIME_T_ALTERNATIVES_HEAD) $(TIME_T_ALTERNATIVES_TAIL)
113115
TIME_T_ALTERNATIVES_HEAD = int64_t
114116
TIME_T_ALTERNATIVES_TAIL = int32_t uint32_t uint64_t
115117

116-
# What kind of TZif data files to generate.
117-
# (TZif is the binary time zone data format that zic generates.)
118+
# What kind of TZif data files to generate. (TZif is the binary time
119+
# zone data format that zic generates; see Internet RFC 8536.)
118120
# If you want only POSIX time, with time values interpreted as
119121
# seconds since the epoch (not counting leap seconds), use
120122
# REDO= posix_only
@@ -360,6 +362,9 @@ LEAPSECONDS=
360362
zic= ./zic
361363
ZIC= $(zic) $(ZFLAGS)
362364

365+
# To shrink the size of installed TZif files,
366+
# append "-r @N" to omit data before N-seconds-after-the-Epoch.
367+
# See the zic man page for more about -r.
363368
ZFLAGS=
364369

365370
# How to use zic to install TZif files.
@@ -491,7 +496,8 @@ MANTXTS= newctime.3.txt newstrftime.3.txt newtzset.3.txt \
491496
COMMON= calendars CONTRIBUTING LICENSE Makefile \
492497
NEWS README theory.html version
493498
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
499+
CHECK_WEB_PAGES=check_theory.html check_tz-art.html \
500+
check_tz-how-to.html check_tz-link.html
495501
DOCS= $(MANS) date.1 $(MANTXTS) $(WEB_PAGES)
496502
PRIMARY_YDATA= africa antarctica asia australasia \
497503
europe northamerica southamerica
@@ -804,9 +810,10 @@ check_tzs: $(TZS) $(TZS_NEW)
804810
touch $@
805811
806812
check_web: $(CHECK_WEB_PAGES)
813+
check_theory.html: theory.html
807814
check_tz-art.html: tz-art.html
808815
check_tz-link.html: tz-link.html
809-
check_tz-art.html check_tz-link.html:
816+
check_theory.html check_tz-art.html check_tz-link.html:
810817
$(CURL) -sS --url https://validator.w3.org/nu/ -F out=gnu \
811818
-F file=@$$(expr $@ : 'check_\(.*\)') -o $@.out && \
812819
test ! -s $@.out || { cat $@.out; exit 1; }
@@ -840,11 +847,13 @@ check_zishrink_posix check_zishrink_right: \
840847
touch $@
841848
842849
clean_misc:
850+
rm -fr check_*.dir
843851
rm -f *.o *.out $(TIME_T_ALTERNATIVES) \
844852
check_* core typecheck_* \
845853
date tzselect version.h zdump zic yearistype libtz.a
846854
clean: clean_misc
847-
rm -fr *.dir *.zi tzdb-*/ $(TZS_NEW)
855+
rm -fr *.dir tzdb-*/
856+
rm -f *.zi $(TZS_NEW)
848857
849858
maintainer-clean: clean
850859
@echo 'This command is intended for maintainers to use; it'

tzdata/NEWS

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
News for the tz database
22

3+
Release 20198 - 2019-03-25 22:01:33 -0700
4+
5+
Briefly:
6+
Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
7+
Metlakatla "fell back" to rejoin Alaska Time on 2019-01-20 at 02:00.
8+
9+
Changes to past and future timestamps
10+
11+
Palestine will not start DST until 2019-03-30, instead of 2019-03-23 as
12+
previously predicted. Adjust our prediction by guessing that spring
13+
transitions will be between 24 and 30 March, which matches recent practice
14+
since 2016. (Thanks to Even Scharning and Tim Parenti.)
15+
16+
Metlakatla ended its observance of Pacific standard time,
17+
rejoining Alaska Time, on 2019-01-20 at 02:00. (Thanks to Ryan
18+
Stanley and Tim Parenti.)
19+
20+
Changes to past timestamps
21+
22+
Israel observed DST in 1980 (08-02/09-13) and 1984 (05-05/08-25).
23+
(Thanks to Alois Treindl and Isaac Starkman.)
24+
25+
Changes to time zone abbreviations
26+
27+
Etc/UCT is now a backward-compatibility link to Etc/UTC, instead
28+
of being a separate zone that generates the abbreviation "UCT",
29+
which nowadays is typically a typo. (Problem reported by Isiah
30+
Meadows.)
31+
32+
Changes to code
33+
34+
zic now has an -r option to limit the time range of output data.
35+
For example, 'zic -r @1000000000' limits the output data to
36+
timestamps starting 1000000000 seconds after the Epoch.
37+
This helps shrink output size and can be useful for applications
38+
not needing the full timestamp history, such as TZDIST truncation;
39+
see Internet RFC 8536 section 5.1. (Inspired by a feature request
40+
from Christopher Wong, helped along by bug reports from Wong and
41+
from Tim Parenti.)
42+
43+
Changes to documentation
44+
45+
Mention Internet RFC 8536 (February 2019), which documents TZif.
46+
47+
tz-link.html now cites tzdata-meta
48+
<https://tzdata-meta.timtimeonline.com/>.
49+
50+
351
Release 2018i - 2018-12-30 11:05:43 -0800
452

553
Briefly:
@@ -400,8 +448,9 @@ Release 2018d - 2018-03-22 07:05:46 -0700
400448
downstream parsers do not support it.
401449

402450
* The build procedure constructs three files vanguard.zi, main.zi,
403-
and rearguard.zi, one for each format. The files represent the
404-
same data as closely as the formats allow. These three files
451+
and rearguard.zi, one for each format. Although the files
452+
represent essentially the same data, they may have minor
453+
discrepancies that users are not likely to notice. The files
405454
are intended for downstream data consumers and are not
406455
installed. Zoneinfo parsers that do not support negative SAVE values
407456
should start using rearguard.zi, so that they will be unaffected

tzdata/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
README for the tz distribution
22

3-
"What time is it?" -- Richard Deacon as The King
4-
"Any time you want it to be." -- Frank Baxter as The Scientist
3+
"Where do I set the hands of the clock?" -- Les Tremayne as The King
4+
"Oh that--you can set them any place you want." -- Frank Baxter as The Scientist
55
(from the Bell System film "About Time")
66

77
The Time Zone Database (called tz, tzdb or zoneinfo) contains code and

tzdata/africa

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,11 @@ Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
364364
# See Africa/Lagos.
365365

366366
# Eritrea
367+
# See Africa/Nairobi.
368+
369+
# Eswatini (formerly Swaziland)
370+
# See Africa/Johannesburg.
371+
367372
# Ethiopia
368373
# See Africa/Nairobi.
369374
#
@@ -1188,7 +1193,7 @@ Zone Africa/Johannesburg 1:52:00 - LMT 1892 Feb 8
11881193
1:30 - SAST 1903 Mar
11891194
2:00 SA SAST
11901195
Link Africa/Johannesburg Africa/Maseru # Lesotho
1191-
Link Africa/Johannesburg Africa/Mbabane # Swaziland
1196+
Link Africa/Johannesburg Africa/Mbabane # Eswatini
11921197
#
11931198
# Marion and Prince Edward Is
11941199
# scientific station since 1947
@@ -1230,9 +1235,6 @@ Zone Africa/Juba 2:06:28 - LMT 1931
12301235
2:00 Sudan CA%sT 2000 Jan 15 12:00
12311236
3:00 - EAT
12321237

1233-
# Swaziland
1234-
# See Africa/Johannesburg.
1235-
12361238
# Tanzania
12371239
# See Africa/Nairobi.
12381240

tzdata/asia

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,6 +1620,24 @@ Rule Zion 1974 only - Jul 7 0:00 1:00 D
16201620
Rule Zion 1974 only - Oct 13 0:00 0 S
16211621
Rule Zion 1975 only - Apr 20 0:00 1:00 D
16221622
Rule Zion 1975 only - Aug 31 0:00 0 S
1623+
1624+
# From Alois Treindl (2019-03-06):
1625+
# http://www.moin.gov.il/Documents/שעון קיץ/clock-50-years-7-2014.pdf
1626+
# From Isaac Starkman (2019-03-06):
1627+
# Summer time was in that period in 1980 and 1984, see
1628+
# https://www.ynet.co.il/articles/0,7340,L-3951073,00.html
1629+
# You can of course read it in translation.
1630+
# I checked the local newspapers for that years.
1631+
# It started on midnight and end at 01.00 am.
1632+
# From Paul Eggert (2019-03-06):
1633+
# Also see this thread about the moin.gov.il URL:
1634+
# https://mm.icann.org/pipermail/tz/2018-November/027194.html
1635+
Rule Zion 1980 only - Aug 2 0:00 1:00 D
1636+
Rule Zion 1980 only - Sep 13 1:00 0 S
1637+
Rule Zion 1984 only - May 5 0:00 1:00 D
1638+
Rule Zion 1984 only - Aug 25 1:00 0 S
1639+
1640+
# From Shanks & Pottenger:
16231641
Rule Zion 1985 only - Apr 14 0:00 1:00 D
16241642
Rule Zion 1985 only - Sep 15 0:00 0 S
16251643
Rule Zion 1986 only - May 18 0:00 1:00 D
@@ -3071,9 +3089,15 @@ Zone Asia/Karachi 4:28:12 - LMT 1907
30713089
# the official website, though the decree did not specify the exact
30723090
# time of the time shift.
30733091
# http://www.palestinecabinet.gov.ps/Website/AR/NDecrees/ViewFile.ashx?ID=e7a42ab7-ee23-435a-b9c8-a4f7e81f3817
3092+
3093+
# From Even Scharning (2019-03-23):
3094+
# DST in Palestine will start on 30 March this year, not 23 March as the time
3095+
# zone database predicted.
3096+
# https://ramallah.news/post/123610
30743097
#
3075-
# From Paul Eggert (2018-03-16):
3076-
# For 2016 on, predict spring transitions on March's fourth Saturday at 01:00.
3098+
# From Tim Parenti (2019-03-23):
3099+
# Combining this with the rules observed since 2016, adjust our spring
3100+
# transition guess to Mar Sat>=24.
30773101

30783102
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
30793103
Rule EgyptAsia 1957 only - May 10 0:00 1:00 S
@@ -3104,7 +3128,7 @@ Rule Palestine 2012 only - Sep 21 1:00 0 -
31043128
Rule Palestine 2013 only - Sep Fri>=21 0:00 0 -
31053129
Rule Palestine 2014 2015 - Oct Fri>=21 0:00 0 -
31063130
Rule Palestine 2015 only - Mar lastFri 24:00 1:00 S
3107-
Rule Palestine 2016 max - Mar Sat>=22 1:00 1:00 S
3131+
Rule Palestine 2016 max - Mar Sat>=24 1:00 1:00 S
31083132
Rule Palestine 2016 max - Oct lastSat 1:00 0 -
31093133

31103134
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
@@ -3596,5 +3620,17 @@ Zone Asia/Ho_Chi_Minh 7:06:40 - LMT 1906 Jul 1
35963620
8:00 - +08 1975 Jun 13
35973621
7:00 - +07
35983622

3623+
# From Paul Eggert (2019-02-19):
3624+
#
3625+
# The Ho Chi Minh entry suffices for most purposes as it agrees with all of
3626+
# Vietnam since 1975-06-13. Presumably clocks often changed in south Vietnam
3627+
# in the early 1970s as locations changed hands during the war; however the
3628+
# details are unknown and would likely be too voluminous for this database.
3629+
#
3630+
# For timestamps in north Vietnam back to 1970 (the tzdb cutoff),
3631+
# use Asia/Bangkok; see the VN entries in the file zone1970.tab.
3632+
# For timestamps before 1970, see Asia/Hanoi in the file 'backzone'.
3633+
3634+
35993635
# Yemen
36003636
# See Asia/Riyadh.

tzdata/backward

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Link Pacific/Easter Chile/EasterIsland
7777
Link America/Havana Cuba
7878
Link Africa/Cairo Egypt
7979
Link Europe/Dublin Eire
80+
Link Etc/UTC Etc/UCT
8081
Link Europe/London Europe/Belfast
8182
Link Europe/Chisinau Europe/Tiraspol
8283
Link Europe/London GB
@@ -111,7 +112,7 @@ Link Asia/Taipei ROC
111112
Link Asia/Seoul ROK
112113
Link Asia/Singapore Singapore
113114
Link Europe/Istanbul Turkey
114-
Link Etc/UCT UCT
115+
Link Etc/UTC UCT
115116
Link America/Anchorage US/Alaska
116117
Link America/Adak US/Aleutian
117118
Link America/Phoenix US/Arizona

tzdata/backzone

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Zone Africa/Maseru 1:50:00 - LMT 1903 Mar
204204
2:00 1:00 SAST 1944 Mar 19 2:00
205205
2:00 - SAST
206206

207-
# Swaziland
207+
# Eswatini (formerly Swaziland)
208208
Zone Africa/Mbabane 2:04:24 - LMT 1903 Mar
209209
2:00 - SAST
210210

@@ -625,7 +625,7 @@ Zone Europe/Sarajevo 1:13:40 - LMT 1884
625625
1:00 - CET 1982 Nov 27
626626
1:00 EU CE%sT
627627

628-
# Macedonia
628+
# North Macedonia
629629
Zone Europe/Skopje 1:25:44 - LMT 1884
630630
1:00 - CET 1941 Apr 18 23:00
631631
1:00 C-Eur CE%sT 1945 May 8 2:00s

tzdata/etcetera

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
Zone Etc/GMT 0 - GMT
2121
Zone Etc/UTC 0 - UTC
22-
Zone Etc/UCT 0 - UCT
2322

2423
# The following link uses older naming conventions,
2524
# but it belongs here, not in the file 'backward',

tzdata/europe

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,7 @@ Zone Europe/Luxembourg 0:24:36 - LMT 1904 Jun
18551855
1:00 Belgium CE%sT 1977
18561856
1:00 EU CE%sT
18571857

1858-
# Macedonia
1858+
# North Macedonia
18591859
# See Europe/Belgrade.
18601860

18611861
# Malta
@@ -3359,7 +3359,7 @@ Zone Europe/Belgrade 1:22:00 - LMT 1884
33593359
Link Europe/Belgrade Europe/Ljubljana # Slovenia
33603360
Link Europe/Belgrade Europe/Podgorica # Montenegro
33613361
Link Europe/Belgrade Europe/Sarajevo # Bosnia and Herzegovina
3362-
Link Europe/Belgrade Europe/Skopje # Macedonia
3362+
Link Europe/Belgrade Europe/Skopje # North Macedonia
33633363
Link Europe/Belgrade Europe/Zagreb # Croatia
33643364

33653365
# Slovakia

tzdata/iso3166.tab

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# All text uses UTF-8 encoding. The columns of the table are as follows:
1010
#
1111
# 1. ISO 3166-1 alpha-2 country code, current as of
12-
# ISO 3166-1 N905 (2016-11-15). See: Updates on ISO 3166-1
13-
# http://isotc.iso.org/livelink/livelink/Open/16944257
12+
# ISO 3166-1 N976 (2018-11-06). See: Updates on ISO 3166-1
13+
# https://isotc.iso.org/livelink/livelink/Open/16944257
1414
# 2. The usual English name for the coded region,
1515
# chosen so that alphabetic sorting of subsets produces helpful lists.
1616
# This is not the same as the English name in the ISO 3166 tables.
@@ -166,7 +166,7 @@ ME Montenegro
166166
MF St Martin (French)
167167
MG Madagascar
168168
MH Marshall Islands
169-
MK Macedonia
169+
MK North Macedonia
170170
ML Mali
171171
MM Myanmar (Burma)
172172
MN Mongolia
@@ -235,7 +235,7 @@ ST Sao Tome & Principe
235235
SV El Salvador
236236
SX St Maarten (Dutch)
237237
SY Syria
238-
SZ Swaziland
238+
SZ Eswatini (Swaziland)
239239
TC Turks & Caicos Is
240240
TD Chad
241241
TF French Southern & Antarctic Lands

0 commit comments

Comments
 (0)