Skip to content

Commit e3035dd

Browse files
committed
Merge branch 'tzdb_2024b'
2 parents b07894c + a41a048 commit e3035dd

File tree

241 files changed

+3857
-4113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+3857
-4113
lines changed

settings.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
VZIC_RELEASE_NAME=2024a
2+
VZIC_RELEASE_NAME=2024b
33

44
# The source tzdata is downloaded from this URL.
55
VZIC_TZDATA_ARCHIVE_URL="https://data.iana.org/time-zones/releases/tzdata$VZIC_RELEASE_NAME.tar.gz"

tzdata/CONTRIBUTING

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ such as renaming, adding or removing zones, please read
2323
"Theory and pragmatics of the tz code and data"
2424
<https://www.iana.org/time-zones/repository/theory.html>.
2525
It is also good to browse the mailing list archives
26-
<https://mm.icann.org/pipermail/tz/> for examples of patches that tend
27-
to work well. Additions to data should contain commentary citing
28-
reliable sources as justification. Citations should use "https:" URLs
29-
if available.
26+
<https://lists.iana.org/hyperkitty/list/[email protected]/>
27+
for examples of patches that tend to work well.
28+
Changes should contain commentary citing reliable sources.
29+
Citations should use "https:" URLs if available.
3030

3131
For changes that fix sensitive security-related bugs, please see the
3232
distribution's 'SECURITY' file.
@@ -63,12 +63,16 @@ If you use Git the following workflow may be helpful:
6363
* Edit source files. Include commentary that justifies the
6464
changes by citing reliable sources.
6565

66-
* Debug the changes, e.g.:
66+
* Debug the changes locally, e.g.:
6767

68-
make check
69-
make install
68+
make TOPDIR=$PWD/tz clean check install
7069
./zdump -v America/Los_Angeles
7170

71+
Although builds assume only basic POSIX, they use extra features
72+
if available. 'make check' accesses validator.w3.org unless you
73+
lack 'curl' or use 'make CURL=:'. If you have the latest GCC,
74+
"make CFLAGS='$(GCC_DEBUG_FLAGS)'" does extra checking.
75+
7276
* For each separable change, commit it in the new branch, e.g.:
7377

7478
git add northamerica

tzdata/Makefile

Lines changed: 216 additions & 196 deletions
Large diffs are not rendered by default.

tzdata/NEWS

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

3+
Release 2024b - 2024-09-04 12:27:47 -0700
4+
5+
Briefly:
6+
Improve historical data for Mexico, Mongolia, and Portugal.
7+
System V names are now obsolescent.
8+
The main data form now uses %z.
9+
The code now conforms to RFC 8536 for early timestamps.
10+
Support POSIX.1-2024, which removes asctime_r and ctime_r.
11+
Assume POSIX.2-1992 or later for shell scripts.
12+
SUPPORT_C89 now defaults to 1.
13+
14+
Changes to past timestamps
15+
16+
Asia/Choibalsan is now an alias for Asia/Ulaanbaatar rather than
17+
being a separate Zone with differing behavior before April 2008.
18+
This seems better given our wildly conflicting information about
19+
Mongolia's time zone history. (Thanks to Heitor David Pinto.)
20+
21+
Historical transitions for Mexico have been updated based on
22+
official Mexican decrees. The affected timestamps occur during
23+
the years 1921-1927, 1931, 1945, 1949-1970, and 1981-1997.
24+
The affected zones are America/Bahia_Banderas, America/Cancun,
25+
America/Chihuahua, America/Ciudad_Juarez, America/Hermosillo,
26+
America/Mazatlan, America/Merida, America/Mexico_City,
27+
America/Monterrey, America/Ojinaga, and America/Tijuana.
28+
(Thanks to Heitor David Pinto.)
29+
30+
Historical transitions for Portugal, represented by Europe/Lisbon,
31+
Atlantic/Azores, and Atlantic/Madeira, have been updated based on a
32+
close reading of old Portuguese legislation, replacing previous data
33+
mainly originating from Whitman and Shanks & Pottenger. These
34+
changes affect a few transitions in 1917-1921, 1924, and 1940
35+
throughout these regions by a few hours or days, and various
36+
timestamps between 1977 and 1993 depending on the region. In
37+
particular, the Azores and Madeira did not observe DST from 1977 to
38+
1981. Additionally, the adoption of standard zonal time in former
39+
Portuguese colonies have been adjusted: Africa/Maputo in 1909, and
40+
Asia/Dili by 22 minutes at the start of 1912.
41+
(Thanks to Tim Parenti.)
42+
43+
Changes to past tm_isdst flags
44+
45+
The period from 1966-04-03 through 1966-10-02 in Portugal is now
46+
modeled as DST, to more closely reflect how contemporaneous changes
47+
in law entered into force.
48+
49+
Changes to data
50+
51+
Names present only for compatibility with UNIX System V
52+
(last released in the 1990s) have been moved to 'backward'.
53+
These names, which for post-1970 timestamps mostly just duplicate
54+
data of geographical names, were confusing downstream uses.
55+
Names moved to 'backward' are now links to geographical names.
56+
This affects behavior for TZ='EET' for some pre-1981 timestamps,
57+
for TZ='CET' for some pre-1947 timestamps, and for TZ='WET' for
58+
some pre-1996 timestamps. Also, TZ='MET' now behaves like
59+
TZ='CET' and so uses the abbreviation "CET" rather than "MET".
60+
Those needing the previous TZDB behavior, which does not match any
61+
real-world clocks, can find the old entries in 'backzone'.
62+
(Problem reported by Justin Grant.)
63+
64+
The main source files' time zone abbreviations now use %z,
65+
supported by zic since release 2015f and used in vanguard form
66+
since release 2022b. For example, America/Sao_Paulo now contains
67+
the zone continuation line "-3:00 Brazil %z", which is less error
68+
prone than the old "-3:00 Brazil -03/-02". This does not change
69+
the represented data: the generated TZif files are unchanged.
70+
Rearguard form still avoids %z, to support obsolescent parsers.
71+
72+
Asia/Almaty has been removed from zonenow.tab as it now agrees
73+
with Asia/Tashkent for future timestamps, due to Kazakhstan's
74+
2024-02-29 time zone change. Similarly, America/Scoresbysund
75+
has been removed, as it now agrees with America/Nuuk due to
76+
its 2024-03-31 time zone change.
77+
78+
Changes to code
79+
80+
localtime.c now always uses a TZif file's time type 0 to handle
81+
timestamps before the file's first transition. Formerly,
82+
localtime.c sometimes inferred a different time type, in order to
83+
handle problematic data generated by zic 2018e or earlier. As it
84+
is now safe to assume more recent versions of zic, there is no
85+
longer a pressing need to fail to conform RFC 8536 section 3.2,
86+
which requires using time type 0 in this situation. This change
87+
does not affect behavior when reading TZif files generated by zic
88+
2018f and later.
89+
90+
POSIX.1-2024 removes asctime_r and ctime_r and does not let
91+
libraries define them, so remove them except when needed to
92+
conform to earlier POSIX. These functions are dangerous as they
93+
can overrun user buffers. If you still need them, add
94+
-DSUPPORT_POSIX2008 to CFLAGS.
95+
96+
The SUPPORT_C89 option now defaults to 1 instead of 0, fixing a
97+
POSIX-conformance bug introduced in 2023a.
98+
99+
tzselect now supports POSIX.1-2024 proleptic TZ strings. Also, it
100+
assumes POSIX.2-1992 or later, as practical porting targets now
101+
all support that, and it uses some features from POSIX.1-2024 if
102+
available.
103+
104+
Changes to build procedure
105+
106+
'make check' no longer requires curl and Internet access.
107+
108+
The build procedure now assumes POSIX.2-1992 or later, to simplify
109+
maintenance. To build on Solaris 10, the only extant system still
110+
defaulting to pre-POSIX, prepend /usr/xpg4/bin to PATH.
111+
112+
Changes to documentation
113+
114+
The documentation now reflects POSIX.1-2024.
115+
116+
Changes to commentary
117+
118+
Commentary about historical transitions in Portugal and her former
119+
colonies has been expanded with links to many relevant legislation.
120+
(Thanks to Tim Parenti.)
121+
122+
3123
Release 2024a - 2024-02-01 09:28:56 -0800
4124

5125
Briefly:
@@ -161,7 +281,7 @@ Release 2023d - 2023-12-21 20:02:24 -0800
161281
* It uses the special .POSIX target.
162282
* It quotes special characters more carefully.
163283
* It no longer mishandles builds in an ISO 8859 locale.
164-
Due to the CC changes, TZDIR is now #defined in a file tzfile.h
284+
Due to the CC changes, TZDIR is now #defined in a file tzdir.h
165285
built by 'make', not in a $(CC) -D option. Also, TZDEFAULT is
166286
now treated like TZDIR as they have similar roles.
167287

@@ -283,7 +403,7 @@ Release 2023a - 2023-03-22 12:39:33 -0700
283403
To improve tzselect diagnostics, zone1970.tab's comments column is
284404
now limited to countries that have multiple timezones.
285405

286-
Note that leap seconds are planned to be discontinued by 2035.
406+
Note that there are plans to discontinue leap seconds by 2035.
287407

288408

289409
Release 2022g - 2022-11-29 08:58:31 -0800

tzdata/africa

Lines changed: 42 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,16 @@ Zone Africa/Algiers 0:12:12 - LMT 1891 Mar 16
103103

104104
# Cape Verde / Cabo Verde
105105
#
106-
# From Paul Eggert (2018-02-16):
107-
# Shanks gives 1907 for the transition to +02.
108-
# For now, ignore that and follow the 1911-05-26 Portuguese decree
109-
# (see Europe/Lisbon).
106+
# From Tim Parenti (2024-07-01), per Paul Eggert (2018-02-16):
107+
# For timestamps before independence, see commentary for Europe/Lisbon.
108+
# Shanks gives 1907 instead for the transition to -02.
110109
#
111110
# Zone NAME STDOFF RULES FORMAT [UNTIL]
112111
Zone Atlantic/Cape_Verde -1:34:04 - LMT 1912 Jan 01 2:00u # Praia
113-
-2:00 - -02 1942 Sep
114-
-2:00 1:00 -01 1945 Oct 15
115-
-2:00 - -02 1975 Nov 25 2:00
116-
-1:00 - -01
112+
-2:00 - %z 1942 Sep
113+
-2:00 1:00 %z 1945 Oct 15
114+
-2:00 - %z 1975 Nov 25 2:00
115+
-1:00 - %z
117116

118117
# Chad
119118
# Zone NAME STDOFF RULES FORMAT [UNTIL]
@@ -345,14 +344,12 @@ Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
345344

346345
# Guinea-Bissau
347346
#
348-
# From Paul Eggert (2018-02-16):
349-
# Shanks gives 1911-05-26 for the transition to WAT,
350-
# evidently confusing the date of the Portuguese decree
351-
# (see Europe/Lisbon) with the date that it took effect.
347+
# From Tim Parenti (2024-07-01), per Paul Eggert (2018-02-16):
348+
# For timestamps before independence, see commentary for Europe/Lisbon.
352349
#
353350
# Zone NAME STDOFF RULES FORMAT [UNTIL]
354351
Zone Africa/Bissau -1:02:20 - LMT 1912 Jan 1 1:00u
355-
-1:00 - -01 1975
352+
-1:00 - %z 1975
356353
0:00 - GMT
357354

358355
# Comoros
@@ -417,10 +414,10 @@ Zone Africa/Bissau -1:02:20 - LMT 1912 Jan 1 1:00u
417414

418415
# Zone NAME STDOFF RULES FORMAT [UNTIL]
419416
Zone Africa/Nairobi 2:27:16 - LMT 1908 May
420-
2:30 - +0230 1928 Jun 30 24:00
417+
2:30 - %z 1928 Jun 30 24:00
421418
3:00 - EAT 1930 Jan 4 24:00
422-
2:30 - +0230 1936 Dec 31 24:00
423-
2:45 - +0245 1942 Jul 31 24:00
419+
2:30 - %z 1936 Dec 31 24:00
420+
2:45 - %z 1942 Jul 31 24:00
424421
3:00 - EAT
425422

426423
# Liberia
@@ -591,7 +588,7 @@ Rule Mauritius 2008 only - Oct lastSun 2:00 1:00 -
591588
Rule Mauritius 2009 only - Mar lastSun 2:00 0 -
592589
# Zone NAME STDOFF RULES FORMAT [UNTIL]
593590
Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
594-
4:00 Mauritius +04/+05
591+
4:00 Mauritius %z
595592
# Agalega Is, Rodriguez
596593
# no information; probably like Indian/Mauritius
597594

@@ -1071,10 +1068,10 @@ Rule Morocco 2087 only - May 11 2:00 0 -
10711068

10721069
# Zone NAME STDOFF RULES FORMAT [UNTIL]
10731070
Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
1074-
0:00 Morocco +00/+01 1984 Mar 16
1075-
1:00 - +01 1986
1076-
0:00 Morocco +00/+01 2018 Oct 28 3:00
1077-
1:00 Morocco +01/+00
1071+
0:00 Morocco %z 1984 Mar 16
1072+
1:00 - %z 1986
1073+
0:00 Morocco %z 2018 Oct 28 3:00
1074+
1:00 Morocco %z
10781075

10791076
# Western Sahara
10801077
#
@@ -1088,9 +1085,9 @@ Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
10881085
# since most of it was then controlled by Morocco.
10891086

10901087
Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan # El Aaiún
1091-
-1:00 - -01 1976 Apr 14
1092-
0:00 Morocco +00/+01 2018 Oct 28 3:00
1093-
1:00 Morocco +01/+00
1088+
-1:00 - %z 1976 Apr 14
1089+
0:00 Morocco %z 2018 Oct 28 3:00
1090+
1:00 Morocco %z
10941091

10951092
# Botswana
10961093
# Burundi
@@ -1101,13 +1098,27 @@ Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan # El Aaiún
11011098
# Zambia
11021099
# Zimbabwe
11031100
#
1104-
# Shanks gives 1903-03-01 for the transition to CAT.
1105-
# Perhaps the 1911-05-26 Portuguese decree
1106-
# https://dre.pt/pdf1sdip/1911/05/12500/23132313.pdf
1107-
# merely made it official?
1101+
# From Tim Parenti (2024-07-01):
1102+
# For timestamps before Mozambique's independence, see commentary for
1103+
# Europe/Lisbon.
1104+
#
1105+
# From Paul Eggert (2024-05-24):
1106+
# The London Gazette, 1903-04-03, page 2245, says that
1107+
# as of 1903-03-03 a time ball at the port of Lourenço Marques
1108+
# (as Maputo was then called) was dropped daily at 13:00:00 LMT,
1109+
# corresponding to 22:49:41.7 GMT, so local time was +02:10:18.3.
1110+
# Conversely, the newspaper South Africa, 1909-02-09, page 321,
1111+
# says the port had just installed an apparatus that communicated
1112+
# "from the controlling clock in the new Observatory at Reuben Point ...
1113+
# exact mean South African time, i.e., 30 deg., or 2 hours East of Greenwich".
1114+
# Although Shanks gives 1903-03-01 for the transition to CAT,
1115+
# evidently the port transitioned to CAT after 1903-03-03 but before
1116+
# the Portuguese legal transition of 1912-01-01 (see Europe/Lisbon commentary).
1117+
# For lack of better info, list 1909 as the transition date.
11081118
#
11091119
# Zone NAME STDOFF RULES FORMAT [UNTIL]
1110-
Zone Africa/Maputo 2:10:20 - LMT 1903 Mar
1120+
#STDOFF 2:10:18.3
1121+
Zone Africa/Maputo 2:10:18 - LMT 1909
11111122
2:00 - CAT
11121123

11131124
# Namibia
@@ -1172,7 +1183,7 @@ Rule Namibia 1995 2017 - Apr Sun>=1 2:00 -1:00 WAT
11721183

11731184
# Zone NAME STDOFF RULES FORMAT [UNTIL]
11741185
Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
1175-
1:30 - +0130 1903 Mar
1186+
1:30 - %z 1903 Mar
11761187
2:00 - SAST 1942 Sep 20 2:00
11771188
2:00 1:00 SAST 1943 Mar 21 2:00
11781189
2:00 - SAST 1990 Mar 21 # independence
@@ -1260,7 +1271,7 @@ Zone Africa/Windhoek 1:08:24 - LMT 1892 Feb 8
12601271
Zone Africa/Lagos 0:13:35 - LMT 1905 Jul 1
12611272
0:00 - GMT 1908 Jul 1
12621273
0:13:35 - LMT 1914 Jan 1
1263-
0:30 - +0030 1919 Sep 1
1274+
0:30 - %z 1919 Sep 1
12641275
1:00 - WAT
12651276

12661277
# São Tomé and Príncipe

0 commit comments

Comments
 (0)