diff --git a/NEWS.md b/NEWS.md index 015519c..51b48ad 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,50 @@ +# Version 2022.7 +Upstream version 2022g released 2022-11-29T16:58:31+00:00 + +## Briefly: + +The northern edge of Chihuahua changes to US timekeeping. Much of Greenland +stops changing clocks after March 2023. Fix some pre-1996 timestamps in northern +Canada. C89 is now deprecated; please use C99 or later. Portability fixes for +AIX, libintl, MS-Windows, musl, z/OS In C code, use more C23 features if +available. C23 timegm now supported by default Fixes for unlikely integer +overflows + +## Changes to future timestamps + +In the Mexican state of Chihuahua, the border strip near the US will change to +agree with nearby US locations on 2022-11-30. The strip's western part, +represented by Ciudad Juárez, switches from -06 all year to -07/-06 with US DST +rules, like El Paso, TX. The eastern part, represented by Ojinaga, will observe +US DST next year, like Presidio, TX. (Thanks to Heitor David Pinto.) A new Zone +America/Ciudad_Juarez splits from America/Ojinaga. + +Much of Greenland, represented by America/Nuuk, stops observing winter time +after March 2023, so its daylight saving time becomes standard time. (Thanks to +Jonas Nyrup and Jürgen Appel.) + +## Changes to past timestamps + +Changes for pre-1996 northern Canada (thanks to Chris Walton): + +Merge America/Iqaluit and America/Pangnirtung into the former, with a backward +compatibility link for the latter name. There is no good evidence the two +locations differ since 1970. This change affects pre-1996 America/Pangnirtung +timestamps. + +Cambridge Bay, Inuvik, Iqaluit, Rankin Inlet, Resolute and Yellowknife did not +observe DST in 1965, and did observe DST from 1972 through 1979. + +Whitehorse moved from -09 to -08 on 1966-02-27, not 1967-05-28. + +Colombia's 1993 fallback was 02-06 24:00, not 04-04 00:00. (Thanks to Alois +Treindl.) + +Singapore's 1981-12-31 change was at 16:00 UTC (23:30 local time), not 24:00 +local time. (Thanks to Geoff Clare via Robert Elz.) + +--- + # Version 2022.6 Upstream version 2022f released 2022-10-29T01:04:57+00:00 diff --git a/VERSION b/VERSION index cb2017a..6cc52bf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2022.6 \ No newline at end of file +2022.7 \ No newline at end of file diff --git a/news.d/2022g.md b/news.d/2022g.md new file mode 100644 index 0000000..ce88e21 --- /dev/null +++ b/news.d/2022g.md @@ -0,0 +1,44 @@ +# Version 2022.7 +Upstream version 2022g released 2022-11-29T16:58:31+00:00 + +## Briefly: + +The northern edge of Chihuahua changes to US timekeeping. Much of Greenland +stops changing clocks after March 2023. Fix some pre-1996 timestamps in northern +Canada. C89 is now deprecated; please use C99 or later. Portability fixes for +AIX, libintl, MS-Windows, musl, z/OS In C code, use more C23 features if +available. C23 timegm now supported by default Fixes for unlikely integer +overflows + +## Changes to future timestamps + +In the Mexican state of Chihuahua, the border strip near the US will change to +agree with nearby US locations on 2022-11-30. The strip's western part, +represented by Ciudad Juárez, switches from -06 all year to -07/-06 with US DST +rules, like El Paso, TX. The eastern part, represented by Ojinaga, will observe +US DST next year, like Presidio, TX. (Thanks to Heitor David Pinto.) A new Zone +America/Ciudad_Juarez splits from America/Ojinaga. + +Much of Greenland, represented by America/Nuuk, stops observing winter time +after March 2023, so its daylight saving time becomes standard time. (Thanks to +Jonas Nyrup and Jürgen Appel.) + +## Changes to past timestamps + +Changes for pre-1996 northern Canada (thanks to Chris Walton): + +Merge America/Iqaluit and America/Pangnirtung into the former, with a backward +compatibility link for the latter name. There is no good evidence the two +locations differ since 1970. This change affects pre-1996 America/Pangnirtung +timestamps. + +Cambridge Bay, Inuvik, Iqaluit, Rankin Inlet, Resolute and Yellowknife did not +observe DST in 1965, and did observe DST from 1972 through 1979. + +Whitehorse moved from -09 to -08 on 1966-02-27, not 1967-05-28. + +Colombia's 1993 fallback was 02-06 24:00, not 04-04 00:00. (Thanks to Alois +Treindl.) + +Singapore's 1981-12-31 change was at 16:00 UTC (23:30 local time), not 24:00 +local time. (Thanks to Geoff Clare via Robert Elz.) \ No newline at end of file diff --git a/src/tzdata/__init__.py b/src/tzdata/__init__.py index c385132..9645685 100644 --- a/src/tzdata/__init__.py +++ b/src/tzdata/__init__.py @@ -1,6 +1,6 @@ # IANA versions like 2020a are not valid PEP 440 identifiers; the recommended # way to translate the version is to use YYYY.n where `n` is a 0-based index. -__version__ = "2022.6" +__version__ = "2022.7" # This exposes the original IANA version number. -IANA_VERSION = "2022f" +IANA_VERSION = "2022g" diff --git a/src/tzdata/zoneinfo/America/Bogota b/src/tzdata/zoneinfo/America/Bogota index 6cb53d4..85b9033 100644 Binary files a/src/tzdata/zoneinfo/America/Bogota and b/src/tzdata/zoneinfo/America/Bogota differ diff --git a/src/tzdata/zoneinfo/America/Cambridge_Bay b/src/tzdata/zoneinfo/America/Cambridge_Bay index 0a22252..1092f4b 100644 Binary files a/src/tzdata/zoneinfo/America/Cambridge_Bay and b/src/tzdata/zoneinfo/America/Cambridge_Bay differ diff --git a/src/tzdata/zoneinfo/America/Ciudad_Juarez b/src/tzdata/zoneinfo/America/Ciudad_Juarez new file mode 100644 index 0000000..f636ee6 Binary files /dev/null and b/src/tzdata/zoneinfo/America/Ciudad_Juarez differ diff --git a/src/tzdata/zoneinfo/America/Godthab b/src/tzdata/zoneinfo/America/Godthab index 4ddc99d..79d7a45 100644 Binary files a/src/tzdata/zoneinfo/America/Godthab and b/src/tzdata/zoneinfo/America/Godthab differ diff --git a/src/tzdata/zoneinfo/America/Inuvik b/src/tzdata/zoneinfo/America/Inuvik index af3107d..86639f6 100644 Binary files a/src/tzdata/zoneinfo/America/Inuvik and b/src/tzdata/zoneinfo/America/Inuvik differ diff --git a/src/tzdata/zoneinfo/America/Iqaluit b/src/tzdata/zoneinfo/America/Iqaluit index eb2c99c..95e055c 100644 Binary files a/src/tzdata/zoneinfo/America/Iqaluit and b/src/tzdata/zoneinfo/America/Iqaluit differ diff --git a/src/tzdata/zoneinfo/America/Nuuk b/src/tzdata/zoneinfo/America/Nuuk index 4ddc99d..79d7a45 100644 Binary files a/src/tzdata/zoneinfo/America/Nuuk and b/src/tzdata/zoneinfo/America/Nuuk differ diff --git a/src/tzdata/zoneinfo/America/Ojinaga b/src/tzdata/zoneinfo/America/Ojinaga index 560b867..2fc74e9 100644 Binary files a/src/tzdata/zoneinfo/America/Ojinaga and b/src/tzdata/zoneinfo/America/Ojinaga differ diff --git a/src/tzdata/zoneinfo/America/Pangnirtung b/src/tzdata/zoneinfo/America/Pangnirtung index 5be6f9b..95e055c 100644 Binary files a/src/tzdata/zoneinfo/America/Pangnirtung and b/src/tzdata/zoneinfo/America/Pangnirtung differ diff --git a/src/tzdata/zoneinfo/America/Rankin_Inlet b/src/tzdata/zoneinfo/America/Rankin_Inlet index 92e2ed2..6d1d90d 100644 Binary files a/src/tzdata/zoneinfo/America/Rankin_Inlet and b/src/tzdata/zoneinfo/America/Rankin_Inlet differ diff --git a/src/tzdata/zoneinfo/America/Resolute b/src/tzdata/zoneinfo/America/Resolute index a84d1df..97eb8a9 100644 Binary files a/src/tzdata/zoneinfo/America/Resolute and b/src/tzdata/zoneinfo/America/Resolute differ diff --git a/src/tzdata/zoneinfo/America/Whitehorse b/src/tzdata/zoneinfo/America/Whitehorse index 878b6a9..40baa9a 100644 Binary files a/src/tzdata/zoneinfo/America/Whitehorse and b/src/tzdata/zoneinfo/America/Whitehorse differ diff --git a/src/tzdata/zoneinfo/America/Yellowknife b/src/tzdata/zoneinfo/America/Yellowknife index c779cef..ff3eb87 100644 Binary files a/src/tzdata/zoneinfo/America/Yellowknife and b/src/tzdata/zoneinfo/America/Yellowknife differ diff --git a/src/tzdata/zoneinfo/Asia/Kuala_Lumpur b/src/tzdata/zoneinfo/Asia/Kuala_Lumpur index 350d77e..dbbdea3 100644 Binary files a/src/tzdata/zoneinfo/Asia/Kuala_Lumpur and b/src/tzdata/zoneinfo/Asia/Kuala_Lumpur differ diff --git a/src/tzdata/zoneinfo/Asia/Singapore b/src/tzdata/zoneinfo/Asia/Singapore index 350d77e..dbbdea3 100644 Binary files a/src/tzdata/zoneinfo/Asia/Singapore and b/src/tzdata/zoneinfo/Asia/Singapore differ diff --git a/src/tzdata/zoneinfo/Canada/Yukon b/src/tzdata/zoneinfo/Canada/Yukon index 878b6a9..40baa9a 100644 Binary files a/src/tzdata/zoneinfo/Canada/Yukon and b/src/tzdata/zoneinfo/Canada/Yukon differ diff --git a/src/tzdata/zoneinfo/Singapore b/src/tzdata/zoneinfo/Singapore index 350d77e..dbbdea3 100644 Binary files a/src/tzdata/zoneinfo/Singapore and b/src/tzdata/zoneinfo/Singapore differ diff --git a/src/tzdata/zoneinfo/iso3166.tab b/src/tzdata/zoneinfo/iso3166.tab index a4ff61a..911af5e 100644 --- a/src/tzdata/zoneinfo/iso3166.tab +++ b/src/tzdata/zoneinfo/iso3166.tab @@ -3,13 +3,13 @@ # This file is in the public domain, so clarified as of # 2009-05-17 by Arthur David Olson. # -# From Paul Eggert (2015-05-02): +# From Paul Eggert (2022-11-18): # This file contains a table of two-letter country codes. Columns are # separated by a single tab. Lines beginning with '#' are comments. # All text uses UTF-8 encoding. The columns of the table are as follows: # # 1. ISO 3166-1 alpha-2 country code, current as of -# ISO 3166-1 N976 (2018-11-06). See: Updates on ISO 3166-1 +# ISO 3166-1 N1087 (2022-09-02). See: Updates on ISO 3166-1 # https://isotc.iso.org/livelink/livelink/Open/16944257 # 2. The usual English name for the coded region, # chosen so that alphabetic sorting of subsets produces helpful lists. @@ -238,7 +238,7 @@ SY Syria SZ Eswatini (Swaziland) TC Turks & Caicos Is TD Chad -TF French Southern & Antarctic Lands +TF French Southern Territories TG Togo TH Thailand TJ Tajikistan diff --git a/src/tzdata/zoneinfo/tzdata.zi b/src/tzdata/zoneinfo/tzdata.zi index a36449f..3db1460 100644 --- a/src/tzdata/zoneinfo/tzdata.zi +++ b/src/tzdata/zoneinfo/tzdata.zi @@ -1,4 +1,4 @@ -# version 2022f +# version 2022g # This zic input file is in the public domain. R d 1916 o - Jun 14 23s 1 S R d 1916 1919 - O Su>=1 23s 0 - @@ -1040,7 +1040,7 @@ Z Asia/Singapore 6:55:25 - LMT 1901 7:20 - +0720 1941 S 7:30 - +0730 1942 F 16 9 - +09 1945 S 12 -7:30 - +0730 1982 +7:30 - +0730 1981 D 31 16u 8 - +08 Z Asia/Colombo 5:19:24 - LMT 1880 5:19:32 - MMT 1906 @@ -1754,7 +1754,8 @@ Z America/Scoresbysund -1:27:52 - LMT 1916 Jul 28 -1 E -01/+00 Z America/Nuuk -3:26:56 - LMT 1916 Jul 28 -3 - -03 1980 Ap 6 2 --3 E -03/-02 +-3 E -03/-02 2023 Mar 25 22 +-2 - -02 Z America/Thule -4:35:8 - LMT 1916 Jul 28 -4 Th A%sT Z Europe/Tallinn 1:39 - LMT 1880 @@ -3044,16 +3045,11 @@ R Y 1919 o - N 1 0 0 S R Y 1942 o - F 9 2 1 W R Y 1945 o - Au 14 23u 1 P R Y 1945 o - S 30 2 0 S -R Y 1965 o - Ap lastSu 0 2 DD -R Y 1965 o - O lastSu 2 0 S -R Y 1980 1986 - Ap lastSu 2 1 D -R Y 1980 2006 - O lastSu 2 0 S +R Y 1972 1986 - Ap lastSu 2 1 D +R Y 1972 2006 - O lastSu 2 0 S R Y 1987 2006 - Ap Su>=1 2 1 D -Z America/Pangnirtung 0 - -00 1921 --4 Y A%sT 1995 Ap Su>=1 2 --5 C E%sT 1999 O 31 2 --6 C C%sT 2000 O 29 2 --5 C E%sT +R Yu 1965 o - Ap lastSu 0 2 DD +R Yu 1965 o - O lastSu 2 0 S Z America/Iqaluit 0 - -00 1942 Au -5 Y E%sT 1999 O 31 2 -6 C C%sT 2000 O 29 2 @@ -3082,13 +3078,15 @@ Z America/Inuvik 0 - -00 1953 -7 Y M%sT 1980 -7 C M%sT Z America/Whitehorse -9:0:12 - LMT 1900 Au 20 --9 Y Y%sT 1967 May 28 --8 Y P%sT 1980 +-9 Y Y%sT 1965 +-9 Yu Y%sT 1966 F 27 +-8 - PST 1980 -8 C P%sT 2020 N -7 - MST Z America/Dawson -9:17:40 - LMT 1900 Au 20 --9 Y Y%sT 1973 O 28 --8 Y P%sT 1980 +-9 Y Y%sT 1965 +-9 Yu Y%sT 1973 O 28 +-8 - PST 1980 -8 C P%sT 2020 N -7 - MST R m 1931 o - May 1 23 1 D @@ -3132,6 +3130,17 @@ Z America/Mexico_City -6:36:36 - LMT 1922 Ja 1 7u -6 m C%sT 2001 S 30 2 -6 - CST 2002 F 20 -6 m C%sT +Z America/Ciudad_Juarez -7:5:56 - LMT 1922 Ja 1 7u +-7 - MST 1927 Jun 10 23 +-6 - CST 1930 N 15 +-7 m M%sT 1932 Ap +-6 - CST 1996 +-6 m C%sT 1998 +-6 - CST 1998 Ap Su>=1 3 +-7 m M%sT 2010 +-7 u M%sT 2022 O 30 2 +-6 - CST 2022 N 30 +-7 u M%sT Z America/Ojinaga -6:57:40 - LMT 1922 Ja 1 7u -7 - MST 1927 Jun 10 23 -6 - CST 1930 N 15 @@ -3141,7 +3150,8 @@ Z America/Ojinaga -6:57:40 - LMT 1922 Ja 1 7u -6 - CST 1998 Ap Su>=1 3 -7 m M%sT 2010 -7 u M%sT 2022 O 30 2 --6 - CST +-6 - CST 2022 N 30 +-6 u C%sT Z America/Chihuahua -7:4:20 - LMT 1922 Ja 1 7u -7 - MST 1927 Jun 10 23 -6 - CST 1930 N 15 @@ -3771,7 +3781,7 @@ Z Antarctica/Palmer 0 - -00 1965 -4 x -04/-03 2016 D 4 -3 - -03 R CO 1992 o - May 3 0 1 - -R CO 1993 o - Ap 4 0 0 - +R CO 1993 o - F 6 24 0 - Z America/Bogota -4:56:16 - LMT 1884 Mar 13 -4:56:16 - BMT 1914 N 23 -5 CO -05/-04 @@ -4154,6 +4164,7 @@ L America/Tijuana America/Ensenada L America/Indiana/Indianapolis America/Fort_Wayne L America/Toronto America/Montreal L America/Toronto America/Nipigon +L America/Iqaluit America/Pangnirtung L America/Rio_Branco America/Porto_Acre L America/Winnipeg America/Rainy_River L America/Argentina/Cordoba America/Rosario diff --git a/src/tzdata/zoneinfo/zone.tab b/src/tzdata/zoneinfo/zone.tab index 2636e21..6e5adb9 100644 --- a/src/tzdata/zoneinfo/zone.tab +++ b/src/tzdata/zoneinfo/zone.tab @@ -114,8 +114,7 @@ CA +4606-06447 America/Moncton Atlantic - New Brunswick CA +5320-06025 America/Goose_Bay Atlantic - Labrador (most areas) CA +5125-05707 America/Blanc-Sablon AST - QC (Lower North Shore) CA +4339-07923 America/Toronto Eastern - ON, QC (most areas) -CA +6344-06828 America/Iqaluit Eastern - NU (most east areas) -CA +6608-06544 America/Pangnirtung Eastern - NU (Pangnirtung) +CA +6344-06828 America/Iqaluit Eastern - NU (most areas) CA +484531-0913718 America/Atikokan EST - ON (Atikokan); NU (Coral H) CA +4953-09709 America/Winnipeg Central - ON (west); Manitoba CA +744144-0944945 America/Resolute Central - NU (Resolute) @@ -277,17 +276,18 @@ MT +3554+01431 Europe/Malta MU -2010+05730 Indian/Mauritius MV +0410+07330 Indian/Maldives MW -1547+03500 Africa/Blantyre -MX +1924-09909 America/Mexico_City Central Time -MX +2105-08646 America/Cancun Eastern Standard Time - Quintana Roo -MX +2058-08937 America/Merida Central Time - Campeche, Yucatan -MX +2540-10019 America/Monterrey Central Time - Durango; Coahuila, Nuevo Leon, Tamaulipas (most areas) -MX +2550-09730 America/Matamoros Central Time US - Coahuila, Nuevo Leon, Tamaulipas (US border) -MX +2313-10625 America/Mazatlan Mountain Time - Baja California Sur, Nayarit, Sinaloa -MX +2838-10605 America/Chihuahua Mountain Time - Chihuahua (most areas) -MX +2934-10425 America/Ojinaga Mountain Time US - Chihuahua (US border) -MX +2904-11058 America/Hermosillo Mountain Standard Time - Sonora -MX +3232-11701 America/Tijuana Pacific Time US - Baja California -MX +2048-10515 America/Bahia_Banderas Central Time - Bahia de Banderas +MX +1924-09909 America/Mexico_City Central Mexico +MX +2105-08646 America/Cancun Quintana Roo +MX +2058-08937 America/Merida Campeche, Yucatan +MX +2540-10019 America/Monterrey Durango; Coahuila, Nuevo Leon, Tamaulipas (most areas) +MX +2550-09730 America/Matamoros Coahuila, Nuevo Leon, Tamaulipas (US border) +MX +2838-10605 America/Chihuahua Chihuahua (most areas) +MX +3144-10629 America/Ciudad_Juarez Chihuahua (US border - west) +MX +2934-10425 America/Ojinaga Chihuahua (US border - east) +MX +2313-10625 America/Mazatlan Baja California Sur, Nayarit (most areas), Sinaloa +MX +2048-10515 America/Bahia_Banderas Bahia de Banderas +MX +2904-11058 America/Hermosillo Sonora +MX +3232-11701 America/Tijuana Baja California MY +0310+10142 Asia/Kuala_Lumpur Malaysia (peninsula) MY +0133+11020 Asia/Kuching Sabah, Sarawak MZ -2558+03235 Africa/Maputo diff --git a/src/tzdata/zoneinfo/zone1970.tab b/src/tzdata/zoneinfo/zone1970.tab index 75372e3..a9b36d3 100644 --- a/src/tzdata/zoneinfo/zone1970.tab +++ b/src/tzdata/zoneinfo/zone1970.tab @@ -102,8 +102,7 @@ CA +4612-05957 America/Glace_Bay Atlantic - NS (Cape Breton) CA +4606-06447 America/Moncton Atlantic - New Brunswick CA +5320-06025 America/Goose_Bay Atlantic - Labrador (most areas) CA,BS +4339-07923 America/Toronto Eastern - ON, QC (most areas), Bahamas -CA +6344-06828 America/Iqaluit Eastern - NU (most east areas) -CA +6608-06544 America/Pangnirtung Eastern - NU (Pangnirtung) +CA +6344-06828 America/Iqaluit Eastern - NU (most areas) CA +4953-09709 America/Winnipeg Central - ON (west); Manitoba CA +744144-0944945 America/Resolute Central - NU (Resolute) CA +624900-0920459 America/Rankin_Inlet Central - NU (central) @@ -214,17 +213,18 @@ MQ +1436-06105 America/Martinique MT +3554+01431 Europe/Malta MU -2010+05730 Indian/Mauritius MV,TF +0410+07330 Indian/Maldives Maldives, Kerguelen, St Paul I, Amsterdam I -MX +1924-09909 America/Mexico_City Central Time -MX +2105-08646 America/Cancun Eastern Standard Time - Quintana Roo -MX +2058-08937 America/Merida Central Time - Campeche, Yucatán -MX +2540-10019 America/Monterrey Central Time - Durango; Coahuila, Nuevo León, Tamaulipas (most areas) -MX +2550-09730 America/Matamoros Central Time US - Coahuila, Nuevo León, Tamaulipas (US border) -MX +2313-10625 America/Mazatlan Mountain Time - Baja California Sur, Nayarit, Sinaloa -MX +2838-10605 America/Chihuahua Mountain Time - Chihuahua (most areas) -MX +2934-10425 America/Ojinaga Mountain Time US - Chihuahua (US border) -MX +2904-11058 America/Hermosillo Mountain Standard Time - Sonora -MX +3232-11701 America/Tijuana Pacific Time US - Baja California -MX +2048-10515 America/Bahia_Banderas Central Time - Bahía de Banderas +MX +1924-09909 America/Mexico_City Central Mexico +MX +2105-08646 America/Cancun Quintana Roo +MX +2058-08937 America/Merida Campeche, Yucatán +MX +2540-10019 America/Monterrey Durango; Coahuila, Nuevo León, Tamaulipas (most areas) +MX +2550-09730 America/Matamoros Coahuila, Nuevo León, Tamaulipas (US border) +MX +2838-10605 America/Chihuahua Chihuahua (most areas) +MX +3144-10629 America/Ciudad_Juarez Chihuahua (US border - west) +MX +2934-10425 America/Ojinaga Chihuahua (US border - east) +MX +2313-10625 America/Mazatlan Baja California Sur, Nayarit (most areas), Sinaloa +MX +2048-10515 America/Bahia_Banderas Bahía de Banderas +MX +2904-11058 America/Hermosillo Sonora +MX +3232-11701 America/Tijuana Baja California MY,BN +0133+11020 Asia/Kuching Sabah, Sarawak, Brunei MZ,BI,BW,CD,MW,RW,ZM,ZW -2558+03235 Africa/Maputo Central Africa Time NA -2234+01706 Africa/Windhoek diff --git a/src/tzdata/zones b/src/tzdata/zones index d8ec444..8d9892e 100644 --- a/src/tzdata/zones +++ b/src/tzdata/zones @@ -239,7 +239,6 @@ America/Edmonton America/Vancouver America/Dawson_Creek America/Fort_Nelson -America/Pangnirtung America/Iqaluit America/Resolute America/Rankin_Inlet @@ -253,6 +252,7 @@ America/Merida America/Matamoros America/Monterrey America/Mexico_City +America/Ciudad_Juarez America/Ojinaga America/Chihuahua America/Hermosillo @@ -554,6 +554,7 @@ America/Ensenada America/Fort_Wayne America/Montreal America/Nipigon +America/Pangnirtung America/Porto_Acre America/Rainy_River America/Rosario