From 27b6126887bbefeead7ac89d1443e148a8d2c302 Mon Sep 17 00:00:00 2001 From: Valentin Bonneaud Date: Tue, 28 Mar 2023 19:18:58 +0200 Subject: [PATCH] Update all timezone guess to use TZ 2022g canonical timezones --- lib/timezonedata/exchangezones.php | 12 +++++----- lib/timezonedata/extrazones.php | 34 ++++++++++++++--------------- lib/timezonedata/lotuszones.php | 12 +++++----- lib/timezonedata/php-workaround.php | 2 +- lib/timezonedata/windowszones.php | 8 +++---- 5 files changed, 34 insertions(+), 34 deletions(-) diff --git a/lib/timezonedata/exchangezones.php b/lib/timezonedata/exchangezones.php index 9a92cc433..86be2e90f 100644 --- a/lib/timezonedata/exchangezones.php +++ b/lib/timezonedata/exchangezones.php @@ -21,20 +21,20 @@ 'Brussels, Copenhagen, Madrid, Paris' => 'Europe/Paris', 'Paris, Madrid, Brussels, Copenhagen' => 'Europe/Paris', 'Prague, Central Europe' => 'Europe/Prague', - 'Sarajevo, Skopje, Sofija, Vilnius, Warsaw, Zagreb' => 'Europe/Sarajevo', - 'West Central Africa' => 'Africa/Luanda', // This was a best guess + 'Sarajevo, Skopje, Sofija, Vilnius, Warsaw, Zagreb' => 'Europe/Vilnius', + 'West Central Africa' => 'Africa/Lagos', // This was a best guess 'Athens, Istanbul, Minsk' => 'Europe/Athens', 'Bucharest' => 'Europe/Bucharest', 'Cairo' => 'Africa/Cairo', - 'Harare, Pretoria' => 'Africa/Harare', + 'Harare, Pretoria' => 'Africa/Maputo', 'Helsinki, Riga, Tallinn' => 'Europe/Helsinki', 'Israel, Jerusalem Standard Time' => 'Asia/Jerusalem', 'Baghdad' => 'Asia/Baghdad', - 'Arab, Kuwait, Riyadh' => 'Asia/Kuwait', + 'Arab, Kuwait, Riyadh' => 'Asia/Riyadh', 'Moscow, St. Petersburg, Volgograd' => 'Europe/Moscow', 'East Africa, Nairobi' => 'Africa/Nairobi', 'Tehran' => 'Asia/Tehran', - 'Abu Dhabi, Muscat' => 'Asia/Muscat', // Best guess + 'Abu Dhabi, Muscat' => 'Asia/Dubai', // Best guess 'Baku, Tbilisi, Yerevan' => 'Asia/Baku', 'Kabul' => 'Asia/Kabul', 'Ekaterinburg' => 'Asia/Yekaterinburg', @@ -89,7 +89,7 @@ 'Pacific Time (US & Canada); Tijuana' => 'America/Los_Angeles', // Best guess 'Alaska' => 'America/Anchorage', 'Hawaii' => 'Pacific/Honolulu', - 'Midway Island, Samoa' => 'Pacific/Midway', + 'Midway Island, Samoa' => 'Pacific/Pago_Pago', 'Eniwetok, Kwajalein, Dateline Time' => 'Pacific/Kwajalein', // Localized timezones diff --git a/lib/timezonedata/extrazones.php b/lib/timezonedata/extrazones.php index 58bdabb28..842a73a27 100644 --- a/lib/timezonedata/extrazones.php +++ b/lib/timezonedata/extrazones.php @@ -39,20 +39,20 @@ 'Bolivia' => 'America/La_Paz', 'Borneo' => 'Asia/Kuching', 'British' => 'Europe/London', - 'Brunei' => 'Asia/Brunei', + 'Brunei' => 'Asia/Kuching', 'Casey' => 'Antarctica/Casey', - 'Chamorro' => 'Pacific/Saipan', + 'Chamorro' => 'Pacific/Guam', 'Chatham' => 'Pacific/Chatham', 'Chile' => 'America/Santiago', 'Choibalsan' => 'Asia/Choibalsan', - 'Christmas' => 'Indian/Christmas', - 'Cocos' => 'Indian/Cocos', + 'Christmas' => 'Asia/Bangkok', + 'Cocos' => 'Asia/Yangon', 'Colombia' => 'America/Bogota', 'Cook' => 'Pacific/Rarotonga', 'Dacca' => 'Asia/Dhaka', 'Davis' => 'Antarctica/Davis', 'Dominican' => 'America/Santo_Domingo', - 'DumontDUrville' => 'Antarctica/DumontDUrville', + 'DumontDUrville' => 'Pacific/Port_Moresby', 'Dushanbe' => 'Asia/Dushanbe', 'Dutch Guiana' => 'America/Paramaribo', 'East Timor' => 'Asia/Dili', @@ -65,7 +65,7 @@ 'Falkland' => 'Atlantic/Stanley', 'Fiji Islands Standard Time' => 'Pacific/Fiji', 'French Guiana' => 'America/Cayenne', - 'French Southern' => 'Indian/Kerguelen', + 'French Southern' => 'Indian/Maldives', 'Frunze' => 'Asia/Bishkek', 'Galapagos' => 'Pacific/Galapagos', 'Gambier' => 'Pacific/Gambier', @@ -106,11 +106,11 @@ 'Macquarie' => 'Antarctica/Macquarie', 'Magadan' => 'Asia/Magadan', 'Magallanes Standard Time' => 'America/Punta_Arenas', - 'Malaya' => 'Asia/Kuala_Lumpur', + 'Malaya' => 'Asia/Singapore', 'Malaysia' => 'Asia/Kuching', 'Maldives' => 'Indian/Maldives', 'Marquesas' => 'Pacific/Marquesas', - 'Marshall Islands' => 'Pacific/Majuro', + 'Marshall Islands' => 'Pacific/Tarawa', 'Mawson' => 'Antarctica/Mawson', 'Mexico Pacific' => 'America/Mazatlan', 'Mexico Standard Time' => 'America/Mexico_City', @@ -123,7 +123,7 @@ 'Niue' => 'Pacific/Niue', 'Norfolk' => 'Pacific/Norfolk', 'Noronha' => 'America/Noronha', - 'North Mariana' => 'Pacific/Saipan', + 'North Mariana' => 'Pacific/Guam', 'Novosibirsk' => 'Asia/Novosibirsk', 'Omsk' => 'Asia/Omsk', 'Omsk Standard Time' => 'Asia/Omsk', @@ -139,21 +139,21 @@ 'Pyongyang' => 'Asia/Pyongyang', 'Qyzylorda' => 'Asia/Qyzylorda', 'Qyzylorda Standard Time' => 'Asia/Qyzylorda', - 'Reunion' => 'Indian/Reunion', + 'Reunion' => 'Asia/Dubai', 'Rothera' => 'Antarctica/Rothera', 'Sakhalin' => 'Asia/Sakhalin', 'Samara' => 'Europe/Samara', 'Samarkand' => 'Asia/Samarkand', 'Sao Tome Standard Time' => 'Africa/Sao_Tome', 'Saratov Standard Time' => 'Europe/Saratov', - 'Seychelles' => 'Indian/Mahe', + 'Seychelles' => 'Asia/Dubai', 'Shevchenko' => 'Asia/Aqtau', 'Solomon' => 'Pacific/Guadalcanal', 'South Georgia' => 'Atlantic/South_Georgia', 'Sudan Standard Time' => 'Africa/Khartoum', 'Suriname' => 'America/Paramaribo', 'Sverdlovsk' => 'Asia/Yekaterinburg', - 'Syowa' => 'Antarctica/Syowa', + 'Syowa' => 'Asia/Riyadh', 'Tahiti' => 'Pacific/Tahiti', 'Tajikistan' => 'Asia/Dushanbe', 'Tashkent' => 'Asia/Tashkent', @@ -161,7 +161,7 @@ 'Tokelau' => 'Pacific/Fakaofo', 'Transitional Islamic State Of Afghanistan Standard Time' => 'Asia/Kabul', 'Turkmenistan' => 'Asia/Ashgabat', - 'Tuvalu' => 'Pacific/Funafuti', + 'Tuvalu' => 'Pacific/Tarawa', 'Uralsk' => 'Asia/Oral', 'Uruguay' => 'America/Montevideo', 'Urumqi' => 'Asia/Urumqi', @@ -169,9 +169,9 @@ 'Vanuatu' => 'Pacific/Efate', 'Volgograd' => 'Europe/Volgograd', 'Volgograd Standard Time' => 'Europe/Volgograd', - 'Vostok' => 'Antarctica/Vostok', - 'Wake' => 'Pacific/Wake', - 'Wallis' => 'Pacific/Wallis', + 'Vostok' => 'Asia/Urumqi', + 'Wake' => 'Pacific/Tarawa', + 'Wallis' => 'Pacific/Tarawa', 'Yekaterinburg' => 'Asia/Yekaterinburg', 'Yerevan' => 'Asia/Yerevan', 'Yukon' => 'America/Yakutat', @@ -186,7 +186,7 @@ 'Myanmar Standard Time' => 'Asia/Yangon', 'Nepal Standard Time' => 'Asia/Kathmandu', 'Rangoon' => 'Asia/Yangon', - 'Greenwich' => 'Atlantic/Reykjavik', + 'Greenwich' => 'Africa/Abidjan', 'UTC-02' => 'America/Noronha', 'UTC-08' => 'Pacific/Pitcairn', 'UTC-09' => 'Pacific/Gambier', diff --git a/lib/timezonedata/lotuszones.php b/lib/timezonedata/lotuszones.php index 4ba6e3cbe..620a1a4b1 100644 --- a/lib/timezonedata/lotuszones.php +++ b/lib/timezonedata/lotuszones.php @@ -40,13 +40,13 @@ // 'Mid-Atlantic' => 'Etc/GMT-2', // conflict with windows timezones. 'Azores' => 'Atlantic/Azores', 'Cape Verde' => 'Atlantic/Cape_Verde', - 'Greenwich' => 'Atlantic/Reykjavik', // No I'm serious.. Greenwich is not GMT. + 'Greenwich' => 'Africa/Abidjan', // No I'm serious.. Greenwich is not GMT. 'Morocco' => 'Africa/Casablanca', 'Central Europe' => 'Europe/Prague', - 'Central European' => 'Europe/Sarajevo', + 'Central European' => 'Europe/Belgrade', 'Romance' => 'Europe/Paris', 'W. Central Africa' => 'Africa/Lagos', // Best guess - 'W. Europe' => 'Europe/Amsterdam', + 'W. Europe' => 'Europe/Brussels', 'E. Europe' => 'Europe/Minsk', 'Egypt' => 'Africa/Cairo', 'FLE' => 'Europe/Helsinki', @@ -55,14 +55,14 @@ 'Jordan' => 'Asia/Amman', 'Middle East' => 'Asia/Beirut', 'Namibia' => 'Africa/Windhoek', - 'South Africa' => 'Africa/Harare', - 'Arab' => 'Asia/Kuwait', + 'South Africa' => 'Africa/Maputo', + 'Arab' => 'Asia/Riyadh', 'Arabic' => 'Asia/Baghdad', 'E. Africa' => 'Africa/Nairobi', 'Georgian' => 'Asia/Tbilisi', 'Russian' => 'Europe/Moscow', 'Iran' => 'Asia/Tehran', - 'Arabian' => 'Asia/Muscat', + 'Arabian' => 'Asia/Dubai', 'Armenian' => 'Asia/Yerevan', 'Azerbijan' => 'Asia/Baku', 'Caucasus' => 'Asia/Yerevan', diff --git a/lib/timezonedata/php-workaround.php b/lib/timezonedata/php-workaround.php index 13ff4b302..bd8fcdf1b 100644 --- a/lib/timezonedata/php-workaround.php +++ b/lib/timezonedata/php-workaround.php @@ -25,7 +25,7 @@ 'GMT0' => 'UTC', 'Greenwich' => 'UTC', 'Hongkong' => 'Asia/Hong_Kong', - 'Iceland' => 'Atlantic/Reykjavik', + 'Iceland' => 'Africa/Abidjan', 'Iran' => 'Asia/Tehran', 'Israel' => 'Asia/Jerusalem', 'Jamaica' => 'America/Jamaica', diff --git a/lib/timezonedata/windowszones.php b/lib/timezonedata/windowszones.php index c1bd8026f..7b341f228 100644 --- a/lib/timezonedata/windowszones.php +++ b/lib/timezonedata/windowszones.php @@ -55,13 +55,13 @@ 'Eastern Standard Time (Mexico)' => 'America/Cancun', 'Egypt Standard Time' => 'Africa/Cairo', 'Ekaterinburg Standard Time' => 'Asia/Yekaterinburg', - 'FLE Standard Time' => 'Europe/Kiev', + 'FLE Standard Time' => 'Europe/Kyiv', 'Fiji Standard Time' => 'Pacific/Fiji', 'GMT Standard Time' => 'Europe/London', 'GTB Standard Time' => 'Europe/Bucharest', 'Georgian Standard Time' => 'Asia/Tbilisi', 'Greenland Standard Time' => 'Atlantic/Stanley', - 'Greenwich Standard Time' => 'Atlantic/Reykjavik', + 'Greenwich Standard Time' => 'Africa/Abidjan', 'Haiti Standard Time' => 'America/Port-au-Prince', 'Hawaiian Standard Time' => 'Pacific/Honolulu', 'India Standard Time' => 'Asia/Calcutta', @@ -178,7 +178,7 @@ 'cabo verde is' => 'Atlantic/Cape_Verde', 'coordinated universal time' => 'UTC', 'dublin, edinburgh, lisbon, london' => 'Europe/London', - 'monrovia, reykjavik' => 'Atlantic/Reykjavik', + 'monrovia, reykjavik' => 'Africa/Abidjan', 'belgrade, bratislava, budapest, ljubljana, prague' => 'Europe/Budapest', 'casablanca' => 'Africa/Casablanca', 'sao tome' => 'Africa/Sao_Tome', @@ -210,7 +210,7 @@ 'kathmandu' => 'Asia/Kathmandu', 'astana' => 'Asia/Almaty', 'dhaka' => 'Asia/Dhaka', - 'yangon (rangoon)' => 'Asia/Rangoon', + 'yangon (rangoon)' => 'Asia/Yangon', 'barnaul, gorno-altaysk' => 'Asia/Barnaul', 'tomsk' => 'Asia/Tomsk', 'beijing, chongqing, hong kong, urumqi' => 'Asia/Shanghai',