Skip to content

Commit 24f284d

Browse files
authored
Update zoneinfo files to 2025c (google#332)
This updates America/Tijuana to agree with California's DST rules in 1953 and 1961 through 1975, instead of observing standard time all year.
1 parent de80123 commit 24f284d

File tree

9 files changed

+70
-70
lines changed

9 files changed

+70
-70
lines changed

src/tzfile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
** Each file begins with. . .
3333
*/
3434

35-
#define TZ_MAGIC "TZif"
35+
#define TZ_MAGIC "TZif"
3636

3737
struct tzhead {
3838
char tzh_magic[4]; /* TZ_MAGIC */

testdata/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025b
1+
2025c

testdata/zoneinfo/America/Ensenada

288 Bytes
Binary file not shown.
288 Bytes
Binary file not shown.

testdata/zoneinfo/America/Tijuana

288 Bytes
Binary file not shown.

testdata/zoneinfo/Mexico/BajaNorte

288 Bytes
Binary file not shown.

testdata/zoneinfo/iso3166.tab

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
# This file is in the public domain, so clarified as of
44
# 2009-05-17 by Arthur David Olson.
55
#
6-
# From Paul Eggert (2023-09-06):
6+
# From Paul Eggert (2025-07-01):
77
# This file contains a table of two-letter country codes. Columns are
8-
# separated by a single tab. Lines beginning with '#' are comments.
8+
# separated by a single tab. Lines beginning with ‘#’ are comments.
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/TC 46 N1108 (2023-04-05). See: ISO/TC 46 Documents
12+
# ISO/TC 46 N1127 (2024-02-29). See: ISO/TC 46 Documents
1313
# https://www.iso.org/committee/48750.html?view=documents
1414
# 2. The usual English name for the coded region. This sometimes
1515
# departs from ISO-listed names, sometimes so that sorted subsets
16-
# of names are useful (e.g., "Samoa (American)" and "Samoa
17-
# (western)" rather than "American Samoa" and "Samoa"),
16+
# of names are useful (e.g., Samoa (American) and Samoa
17+
# (western) rather than American Samoa and Samoa),
1818
# sometimes to avoid confusion among non-experts (e.g.,
19-
# "Czech Republic" and "Turkey" rather than "Czechia" and "Türkiye"),
20-
# and sometimes to omit needless detail or churn (e.g., "Netherlands"
21-
# rather than "Netherlands (the)" or "Netherlands (Kingdom of the)").
19+
# Czech Republic and Turkey rather than Czechia and Türkiye),
20+
# and sometimes to omit needless detail or churn (e.g., Netherlands
21+
# rather than Netherlands (the) or Netherlands (Kingdom of the)).
2222
#
2323
# The table is sorted by country code.
2424
#
@@ -71,7 +71,7 @@ CD Congo (Dem. Rep.)
7171
CF Central African Rep.
7272
CG Congo (Rep.)
7373
CH Switzerland
74-
CI Côte d'Ivoire
74+
CI Côte dIvoire
7575
CK Cook Islands
7676
CL Chile
7777
CM Cameroon

testdata/zoneinfo/zone1970.tab

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
#
33
# This file is in the public domain.
44
#
5-
# From Paul Eggert (2018-06-27):
5+
# From Paul Eggert (2025-05-15):
66
# This file contains a table where each row stands for a timezone where
77
# civil timestamps have agreed since 1970. Columns are separated by
8-
# a single tab. Lines beginning with '#' are comments. All text uses
8+
# a single tab. Lines beginning with ‘#’ are comments. All text uses
99
# UTF-8 encoding. The columns of the table are as follows:
1010
#
1111
# 1. The countries that overlap the timezone, as a comma-separated list
12-
# of ISO 3166 2-character country codes. See the file 'iso3166.tab'.
13-
# 2. Latitude and longitude of the timezone's principal location
12+
# of ISO 3166 2-character country codes.
13+
# 2. Latitude and longitude of the timezones principal location
1414
# in ISO 6709 sign-degrees-minutes-seconds format,
1515
# either ±DDMM±DDDMM or ±DDMMSS±DDDMMSS,
1616
# first latitude (+ is north), then longitude (+ is east).
@@ -197,7 +197,7 @@ KZ +4448+06528 Asia/Qyzylorda Qyzylorda/Kyzylorda/Kzyl-Orda
197197
KZ +5312+06337 Asia/Qostanay Qostanay/Kostanay/Kustanay
198198
KZ +5017+05710 Asia/Aqtobe Aqtöbe/Aktobe
199199
KZ +4431+05016 Asia/Aqtau Mangghystaū/Mankistau
200-
KZ +4707+05156 Asia/Atyrau Atyraū/Atirau/Gur'yev
200+
KZ +4707+05156 Asia/Atyrau Atyraū/Atirau/Guryev
201201
KZ +5113+05121 Asia/Oral West Kazakhstan
202202
LB +3353+03530 Asia/Beirut
203203
LK +0656+07951 Asia/Colombo
@@ -245,7 +245,7 @@ PE -1203-07703 America/Lima
245245
PF -1732-14934 Pacific/Tahiti Society Islands
246246
PF -0900-13930 Pacific/Marquesas Marquesas Islands
247247
PF -2308-13457 Pacific/Gambier Gambier Islands
248-
PG,AQ,FM -0930+14710 Pacific/Port_Moresby Papua New Guinea (most areas), Chuuk, Yap, Dumont d'Urville
248+
PG,AQ,FM -0930+14710 Pacific/Port_Moresby Papua New Guinea (most areas), Chuuk, Yap, Dumont dUrville
249249
PG -0613+15534 Pacific/Bougainville Bougainville
250250
PH +143512+1205804 Asia/Manila
251251
PK +2452+06703 Asia/Karachi
@@ -265,7 +265,7 @@ RO +4426+02606 Europe/Bucharest
265265
RS,BA,HR,ME,MK,SI +4450+02030 Europe/Belgrade
266266
RU +5443+02030 Europe/Kaliningrad MSK-01 - Kaliningrad
267267
RU +554521+0373704 Europe/Moscow MSK+00 - Moscow area
268-
# Mention RU and UA alphabetically. See "territorial claims" above.
268+
# Mention RU and UA alphabetically. See territorial claims above.
269269
RU,UA +4457+03406 Europe/Simferopol Crimea
270270
RU +5836+04939 Europe/Kirov MSK+00 - Kirov
271271
RU +4844+04425 Europe/Volgograd MSK+00 - Volgograd
@@ -353,20 +353,20 @@ ZA,LS,SZ -2615+02800 Africa/Johannesburg
353353
# The next section contains experimental tab-separated comments for
354354
# use by user agents like tzselect that identify continents and oceans.
355355
#
356-
# For example, the comment "#@AQ<tab>Antarctica/" means the country code
356+
# For example, the comment #@AQ<tab>Antarctica/ means the country code
357357
# AQ is in the continent Antarctica regardless of the Zone name,
358358
# so Pacific/Auckland should be listed under Antarctica as well as
359-
# under the Pacific because its line's country codes include AQ.
359+
# under the Pacific because its lines country codes include AQ.
360360
#
361361
# If more than one country code is affected each is listed separated
362-
# by commas, e.g., #@IS,SH<tab>Atlantic/". If a country code is in
362+
# by commas, e.g., #@IS,SH<tab>Atlantic/. If a country code is in
363363
# more than one continent or ocean, each is listed separated by
364-
# commas, e.g., the second column of "#@CY,TR<tab>Asia/,Europe/".
364+
# commas, e.g., the second column of #@CY,TR<tab>Asia/,Europe/.
365365
#
366366
# These experimental comments are present only for country codes where
367367
# the continent or ocean is not already obvious from the Zone name.
368368
# For example, there is no such comment for RU since it already
369-
# corresponds to Zone names starting with both "Europe/" and "Asia/".
369+
# corresponds to Zone names starting with both Europe/ and Asia/.
370370
#
371371
#@AQ Antarctica/
372372
#@IS,SH Atlantic/

testdata/zoneinfo/zonenow.tab

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
# From Paul Eggert (2023-12-18):
66
# This file contains a table where each row stands for a timezone
77
# where civil timestamps are predicted to agree from now on.
8-
# This file is like zone1970.tab (see zone1970.tab's comments),
8+
# This file is like zone1970.tab (see zone1970.tabs comments),
99
# but with the following changes:
1010
#
1111
# 1. Each timezone corresponds to a set of clocks that are planned
1212
# to agree from now on. This is a larger set of clocks than in
13-
# zone1970.tab, where each timezone's clocks must agree from 1970 on.
13+
# zone1970.tab, where each timezones clocks must agree from 1970 on.
1414
# 2. The first column is irrelevant and ignored.
1515
# 3. The table is sorted in a different way:
1616
# first by standard time UTC offset;
@@ -29,19 +29,19 @@
2929
#XX coordinates TZ comments
3030
#
3131
# -11 - SST
32-
XX -1416-17042 Pacific/Pago_Pago Midway; Samoa ("SST")
32+
XX -1416-17042 Pacific/Pago_Pago Midway; Samoa (SST)
3333
#
3434
# -11
3535
XX -1901-16955 Pacific/Niue Niue
3636
#
3737
# -10 - HST
38-
XX +211825-1575130 Pacific/Honolulu Hawaii ("HST")
38+
XX +211825-1575130 Pacific/Honolulu Hawaii (HST)
3939
#
4040
# -10
4141
XX -1732-14934 Pacific/Tahiti Tahiti; Cook Islands
4242
#
4343
# -10/-09 - HST / HDT (North America DST)
44-
XX +515248-1763929 America/Adak western Aleutians in Alaska ("HST/HDT")
44+
XX +515248-1763929 America/Adak western Aleutians in Alaska (HST/HDT)
4545
#
4646
# -09:30
4747
XX -0900-13930 Pacific/Marquesas Marquesas
@@ -50,58 +50,58 @@ XX -0900-13930 Pacific/Marquesas Marquesas
5050
XX -2308-13457 Pacific/Gambier Gambier
5151
#
5252
# -09/-08 - AKST/AKDT (North America DST)
53-
XX +611305-1495401 America/Anchorage most of Alaska ("AKST/AKDT")
53+
XX +611305-1495401 America/Anchorage most of Alaska (AKST/AKDT)
5454
#
5555
# -08
5656
XX -2504-13005 Pacific/Pitcairn Pitcairn
5757
#
5858
# -08/-07 - PST/PDT (North America DST)
59-
XX +340308-1181434 America/Los_Angeles Pacific ("PST/PDT") - US & Canada; Mexico near US border
59+
XX +340308-1181434 America/Los_Angeles Pacific (PST/PDT) - US & Canada; Mexico near US border
6060
#
6161
# -07 - MST
62-
XX +332654-1120424 America/Phoenix Mountain Standard ("MST") - Arizona; western Mexico; Yukon
62+
XX +332654-1120424 America/Phoenix Mountain Standard (MST) - Arizona; western Mexico; Yukon
6363
#
6464
# -07/-06 - MST/MDT (North America DST)
65-
XX +394421-1045903 America/Denver Mountain ("MST/MDT") - US & Canada; Mexico near US border
65+
XX +394421-1045903 America/Denver Mountain (MST/MDT) - US & Canada; Mexico near US border
6666
#
6767
# -06
6868
XX -0054-08936 Pacific/Galapagos Galápagos
6969
#
7070
# -06 - CST
71-
XX +1924-09909 America/Mexico_City Central Standard ("CST") - Saskatchewan; central Mexico; Central America
71+
XX +1924-09909 America/Mexico_City Central Standard (CST) - Saskatchewan; central Mexico; Central America
7272
#
7373
# -06/-05 (Chile DST)
7474
XX -2709-10926 Pacific/Easter Easter Island
7575
#
7676
# -06/-05 - CST/CDT (North America DST)
77-
XX +415100-0873900 America/Chicago Central ("CST/CDT") - US & Canada; Mexico near US border
77+
XX +415100-0873900 America/Chicago Central (CST/CDT) - US & Canada; Mexico near US border
7878
#
7979
# -05
8080
XX -1203-07703 America/Lima eastern South America
8181
#
8282
# -05 - EST
83-
XX +175805-0764736 America/Jamaica Eastern Standard ("EST") - Caymans; Jamaica; eastern Mexico; Panama
83+
XX +175805-0764736 America/Jamaica Eastern Standard (EST) - Caymans; Jamaica; eastern Mexico; Panama
8484
#
8585
# -05/-04 - CST/CDT (Cuba DST)
8686
XX +2308-08222 America/Havana Cuba
8787
#
8888
# -05/-04 - EST/EDT (North America DST)
89-
XX +404251-0740023 America/New_York Eastern ("EST/EDT") - US & Canada
89+
XX +404251-0740023 America/New_York Eastern (EST/EDT) - US & Canada
9090
#
9191
# -04
9292
XX +1030-06656 America/Caracas western South America
9393
#
9494
# -04 - AST
95-
XX +1828-06954 America/Santo_Domingo Atlantic Standard ("AST") - eastern Caribbean
95+
XX +1828-06954 America/Santo_Domingo Atlantic Standard (AST) - eastern Caribbean
9696
#
9797
# -04/-03 (Chile DST)
9898
XX -3327-07040 America/Santiago most of Chile
9999
#
100100
# -04/-03 - AST/ADT (North America DST)
101-
XX +4439-06336 America/Halifax Atlantic ("AST/ADT") - Canada; Bermuda
101+
XX +4439-06336 America/Halifax Atlantic (AST/ADT) - Canada; Bermuda
102102
#
103103
# -03:30/-02:30 - NST/NDT (North America DST)
104-
XX +4734-05243 America/St_Johns Newfoundland ("NST/NDT")
104+
XX +4734-05243 America/St_Johns Newfoundland (NST/NDT)
105105
#
106106
# -03
107107
XX -2332-04637 America/Sao_Paulo eastern and southern South America
@@ -122,43 +122,43 @@ XX +1455-02331 Atlantic/Cape_Verde Cape Verde
122122
XX +3744-02540 Atlantic/Azores Azores
123123
#
124124
# +00 - GMT
125-
XX +0519-00402 Africa/Abidjan far western Africa; Iceland ("GMT")
125+
XX +0519-00402 Africa/Abidjan far western Africa; Iceland (GMT)
126126
#
127127
# +00/+01 - GMT/BST (EU DST)
128-
XX +513030-0000731 Europe/London United Kingdom ("GMT/BST")
128+
XX +513030-0000731 Europe/London United Kingdom (GMT/BST)
129129
#
130130
# +00/+01 - WET/WEST (EU DST)
131-
XX +3843-00908 Europe/Lisbon western Europe ("WET/WEST")
131+
XX +3843-00908 Europe/Lisbon western Europe (WET/WEST)
132132
#
133133
# +00/+02 - Troll DST
134134
XX -720041+0023206 Antarctica/Troll Troll Station in Antarctica
135135
#
136136
# +01 - CET
137-
XX +3647+00303 Africa/Algiers Algeria, Tunisia ("CET")
137+
XX +3647+00303 Africa/Algiers Algeria, Tunisia (CET)
138138
#
139139
# +01 - WAT
140-
XX +0627+00324 Africa/Lagos western Africa ("WAT")
140+
XX +0627+00324 Africa/Lagos western Africa (WAT)
141141
#
142142
# +01/+00 - IST/GMT (EU DST in reverse)
143-
XX +5320-00615 Europe/Dublin Ireland ("IST/GMT")
143+
XX +5320-00615 Europe/Dublin Ireland (IST/GMT)
144144
#
145145
# +01/+00 - (Morocco DST)
146146
XX +3339-00735 Africa/Casablanca Morocco
147147
#
148148
# +01/+02 - CET/CEST (EU DST)
149-
XX +4852+00220 Europe/Paris central Europe ("CET/CEST")
149+
XX +4852+00220 Europe/Paris central Europe (CET/CEST)
150150
#
151151
# +02 - CAT
152-
XX -2558+03235 Africa/Maputo central Africa ("CAT")
152+
XX -2558+03235 Africa/Maputo central Africa (CAT)
153153
#
154154
# +02 - EET
155-
XX +3254+01311 Africa/Tripoli Libya; Kaliningrad ("EET")
155+
XX +3254+01311 Africa/Tripoli Libya; Kaliningrad (EET)
156156
#
157157
# +02 - SAST
158-
XX -2615+02800 Africa/Johannesburg southern Africa ("SAST")
158+
XX -2615+02800 Africa/Johannesburg southern Africa (SAST)
159159
#
160160
# +02/+03 - EET/EEST (EU DST)
161-
XX +3758+02343 Europe/Athens eastern Europe ("EET/EEST")
161+
XX +3758+02343 Europe/Athens eastern Europe (EET/EEST)
162162
#
163163
# +02/+03 - EET/EEST (Egypt DST)
164164
XX +3003+03115 Africa/Cairo Egypt
@@ -179,10 +179,10 @@ XX +314650+0351326 Asia/Jerusalem Israel
179179
XX +4101+02858 Europe/Istanbul Near East; Belarus
180180
#
181181
# +03 - EAT
182-
XX -0117+03649 Africa/Nairobi eastern Africa ("EAT")
182+
XX -0117+03649 Africa/Nairobi eastern Africa (EAT)
183183
#
184184
# +03 - MSK
185-
XX +554521+0373704 Europe/Moscow Moscow ("MSK")
185+
XX +554521+0373704 Europe/Moscow Moscow (MSK)
186186
#
187187
# +03:30
188188
XX +3540+05126 Asia/Tehran Iran
@@ -197,13 +197,13 @@ XX +3431+06912 Asia/Kabul Afghanistan
197197
XX +4120+06918 Asia/Tashkent Russia; Kazakhstan; Tajikistan; Turkmenistan; Uzbekistan; Maldives
198198
#
199199
# +05 - PKT
200-
XX +2452+06703 Asia/Karachi Pakistan ("PKT")
200+
XX +2452+06703 Asia/Karachi Pakistan (PKT)
201201
#
202202
# +05:30
203203
XX +0656+07951 Asia/Colombo Sri Lanka
204204
#
205205
# +05:30 - IST
206-
XX +2232+08822 Asia/Kolkata India ("IST")
206+
XX +2232+08822 Asia/Kolkata India (IST)
207207
#
208208
# +05:45
209209
XX +2743+08519 Asia/Kathmandu Nepal
@@ -218,25 +218,25 @@ XX +1647+09610 Asia/Yangon Myanmar; Cocos
218218
XX +1345+10031 Asia/Bangkok Russia; Indochina; Christmas Island
219219
#
220220
# +07 - WIB
221-
XX -0610+10648 Asia/Jakarta Indonesia ("WIB")
221+
XX -0610+10648 Asia/Jakarta Indonesia (WIB)
222222
#
223223
# +08
224224
XX +0117+10351 Asia/Singapore Russia; Brunei; Malaysia; Singapore; Concordia
225225
#
226226
# +08 - AWST
227-
XX -3157+11551 Australia/Perth Western Australia ("AWST")
227+
XX -3157+11551 Australia/Perth Western Australia (AWST)
228228
#
229229
# +08 - CST
230-
XX +3114+12128 Asia/Shanghai China ("CST")
230+
XX +3114+12128 Asia/Shanghai China (CST)
231231
#
232232
# +08 - HKT
233-
XX +2217+11409 Asia/Hong_Kong Hong Kong ("HKT")
233+
XX +2217+11409 Asia/Hong_Kong Hong Kong (HKT)
234234
#
235235
# +08 - PHT
236-
XX +143512+1205804 Asia/Manila Philippines ("PHT")
236+
XX +143512+1205804 Asia/Manila Philippines (PHT)
237237
#
238238
# +08 - WITA
239-
XX -0507+11924 Asia/Makassar Indonesia ("WITA")
239+
XX -0507+11924 Asia/Makassar Indonesia (WITA)
240240
#
241241
# +08:45
242242
XX -3143+12852 Australia/Eucla Eucla
@@ -245,31 +245,31 @@ XX -3143+12852 Australia/Eucla Eucla
245245
XX +5203+11328 Asia/Chita Russia; Palau; East Timor
246246
#
247247
# +09 - JST
248-
XX +353916+1394441 Asia/Tokyo Japan ("JST"); Eyre Bird Observatory
248+
XX +353916+1394441 Asia/Tokyo Japan (JST); Eyre Bird Observatory
249249
#
250250
# +09 - KST
251-
XX +3733+12658 Asia/Seoul Korea ("KST")
251+
XX +3733+12658 Asia/Seoul Korea (KST)
252252
#
253253
# +09 - WIT
254-
XX -0232+14042 Asia/Jayapura Indonesia ("WIT")
254+
XX -0232+14042 Asia/Jayapura Indonesia (WIT)
255255
#
256256
# +09:30 - ACST
257-
XX -1228+13050 Australia/Darwin Northern Territory ("ACST")
257+
XX -1228+13050 Australia/Darwin Northern Territory (ACST)
258258
#
259259
# +09:30/+10:30 - ACST/ACDT (Australia DST)
260-
XX -3455+13835 Australia/Adelaide South Australia ("ACST/ACDT")
260+
XX -3455+13835 Australia/Adelaide South Australia (ACST/ACDT)
261261
#
262262
# +10
263-
XX +4310+13156 Asia/Vladivostok Russia; Yap; Chuuk; Papua New Guinea; Dumont d'Urville
263+
XX +4310+13156 Asia/Vladivostok Russia; Yap; Chuuk; Papua New Guinea; Dumont dUrville
264264
#
265265
# +10 - AEST
266-
XX -2728+15302 Australia/Brisbane Queensland ("AEST")
266+
XX -2728+15302 Australia/Brisbane Queensland (AEST)
267267
#
268268
# +10 - ChST
269-
XX +1328+14445 Pacific/Guam Mariana Islands ("ChST")
269+
XX +1328+14445 Pacific/Guam Mariana Islands (ChST)
270270
#
271271
# +10/+11 - AEST/AEDT (Australia DST)
272-
XX -3352+15113 Australia/Sydney southeast Australia ("AEST/AEDT")
272+
XX -3352+15113 Australia/Sydney southeast Australia (AEST/AEDT)
273273
#
274274
# +10:30/+11
275275
XX -3133+15905 Australia/Lord_Howe Lord Howe Island
@@ -284,7 +284,7 @@ XX -2903+16758 Pacific/Norfolk Norfolk Island
284284
XX +5301+15839 Asia/Kamchatka Russia; Tuvalu; Fiji; etc.
285285
#
286286
# +12/+13 (New Zealand DST)
287-
XX -3652+17446 Pacific/Auckland New Zealand ("NZST/NZDT")
287+
XX -3652+17446 Pacific/Auckland New Zealand (NZST/NZDT)
288288
#
289289
# +12:45/+13:45 (Chatham DST)
290290
XX -4357-17633 Pacific/Chatham Chatham Islands

0 commit comments

Comments
 (0)