Skip to content

Commit 00fc77b

Browse files
authored
Update zoneinfo files to 2026a (#339)
Moldova (Europe/Chisinau, and its link Europe/Tiraspol) has actually used EU transition times since 2022, so it shifts into and out of daylight time at 03:00 and 04:00 respectively, not 02:00 and 03:00. zic no longer generates a no-op transition when simultaneous Rule and Zone changes cancel each other out, which affects Asia/Tbilisi.
1 parent 52f82e4 commit 00fc77b

6 files changed

Lines changed: 10 additions & 19 deletions

File tree

src/tzfile.h

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,8 @@
1717
** Thank you!
1818
*/
1919

20-
/*
21-
** Information about time zone files.
22-
*/
23-
24-
#ifndef TZDEFRULES
25-
# define TZDEFRULES "posixrules"
26-
#endif /* !defined TZDEFRULES */
27-
28-
29-
/* See Internet RFC 9636 for more details about the following format. */
20+
/* Information about time zone files.
21+
See Internet RFC 9636 for more details about the following format. */
3022

3123
/*
3224
** Each file begins with. . .
@@ -97,23 +89,25 @@ struct tzhead {
9789
*/
9890

9991
#ifndef TZ_MAX_TIMES
100-
/* This must be at least 242 for Europe/London with 'zic -b fat'. */
92+
/* The following limit applies to localtime.c; zic has no such limit.
93+
The limit must be at least 310 for Asia/Hebron with 'zic -b fat'. */
10194
# define TZ_MAX_TIMES 2000
10295
#endif /* !defined TZ_MAX_TIMES */
10396

10497
#ifndef TZ_MAX_TYPES
10598
/* This must be at least 18 for Europe/Vilnius with 'zic -b fat'. */
106-
# define TZ_MAX_TYPES 256 /* Limited by what (unsigned char)'s can hold */
99+
# define TZ_MAX_TYPES 256 /* Limited to 256 by Internet RFC 9636. */
107100
#endif /* !defined TZ_MAX_TYPES */
108101

109102
#ifndef TZ_MAX_CHARS
110103
/* This must be at least 40 for America/Anchorage. */
111-
# define TZ_MAX_CHARS 50 /* Maximum number of abbreviation characters */
112-
/* (limited by what unsigned chars can hold) */
104+
# define TZ_MAX_CHARS 256 /* Maximum number of abbreviation characters */
105+
/* (limited to 256 by Internet RFC 9636) */
113106
#endif /* !defined TZ_MAX_CHARS */
114107

115108
#ifndef TZ_MAX_LEAPS
116-
/* This must be at least 27 for leap seconds from 1972 through mid-2023.
109+
/* The following limit applies to localtime.c; zic has no such limit.
110+
The limit must be at least 27 for leap seconds from 1972 through mid-2023.
117111
There's a plan to discontinue leap seconds by 2035. */
118112
# define TZ_MAX_LEAPS 50 /* Maximum number of leap second corrections */
119113
#endif /* !defined TZ_MAX_LEAPS */

testdata/version

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

testdata/zoneinfo/Asia/Tbilisi

-9 Bytes
Binary file not shown.

testdata/zoneinfo/Europe/Chisinau

452 Bytes
Binary file not shown.

testdata/zoneinfo/Europe/Tiraspol

452 Bytes
Binary file not shown.

testdata/zoneinfo/zonenow.tab

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ XX +3003+03115 Africa/Cairo Egypt
166166
# +02/+03 - EET/EEST (Lebanon DST)
167167
XX +3353+03530 Asia/Beirut Lebanon
168168
#
169-
# +02/+03 - EET/EEST (Moldova DST)
170-
XX +4700+02850 Europe/Chisinau Moldova
171-
#
172169
# +02/+03 - EET/EEST (Palestine DST)
173170
XX +3130+03428 Asia/Gaza Palestine
174171
#

0 commit comments

Comments
 (0)