public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
To: cygwin-apps@cygwin.com
Subject: Re: [tz] Ubuntu drops old-style links
Date: Fri, 22 Mar 2024 10:02:32 -0600	[thread overview]
Message-ID: <88dd91a6-5fde-49a7-a0a5-afd5e9b01e15@SystematicSW.ab.ca> (raw)
In-Reply-To: <Zfv_lrigZwY2YpVo@calimero.vinschen.de>

[-- Attachment #1: Type: text/plain, Size: 2869 bytes --]

On 2024-03-21 03:36, Corinna Vinschen via Cygwin-apps wrote:
> On Mar 20 14:59, Brian Inglis via Cygwin-apps wrote:
>> On 2024-03-19 02:19, brian.inglis@systematicsw.ab.ca wrote:
>>> On 2024-03-18 21:12, Matt Johnson-Pint via tz wrote:
>>>> I just learned that Ubuntu Noble (24.04) decided to intentionally
>>>> split the tzdata package.  Old-style links such as US/Eastern are no
>>>> longer included by default, but are available in the tzdata-legacy
>>>> package instead.
>>>>
>>>> Just thought I'd share.  I wonder if other distributions / platforms
>>>> / libraries will follow suit.  What do y'all think?
>>>>
>>>> See:
>>>> <https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/2058249>
>>>> <https://stackoverflow.com/questions/78180695/unrecognized-time-zone>
>>
>>> I've been looking at that to reduce Cygwin CI and embedded build server
>>> setup overhead by limiting base install data to:
>>>
>>> - only the zones in zonenow.tab;
>>> - optionally those in zone1970.tab not in zonenow.tab;
>>> - additionally those in zone.tab in backward, and/or backzone;
>>> - possibly those not in zone.tab, only in backward, and/or backzone;
>>> - additions those in posix subtree, or right subtree.
>>
>> As tzdata maintainer, I would like to discuss on this list first, to take
>> advantage of a wide variety of experience in different environments with
>> different practices and requirements, before making more definite proposals
>> on the public list.
>>
>> Please see the attached log for prioritized subsets of tzdata for consideration:
>> [...]
>> What would the impact on tzset conversion from Windows to Olson tzdb be?
>> We would probably have to add all of these in to any minimal install.
>> I think I looked at that somewhere, sometime, not too long ago.
> 
> We're generating the conversion from Windows to POSIX timezone via
> the conversion table from unicode.org:
> 
> https://cygwin.com/cgit/newlib-cygwin/tree/winsup/utils/tzmap-from-unicode.org
> 
> Plus a few (7, actually) mappings the Unicode consortium missed in
> the list (or maybe they are available in the meantime, needs checking).
> This is the minimum list of timezone info we need in the tzdata DB.

I generated tzmap.h and generated differences since the last update cldr ~40.
I also searched in the latest for matches for each field attached as first.

I do not know if they will be of help as I see you have already looked at tzmap.

It looks as if the match might better prioritize country code over Windows label.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

[-- Attachment #2: tzmap-addl-cldr-45-a3.h --]
[-- Type: text/plain, Size: 5242 bytes --]

* additional zones - some may now be unnecessary as of latest CLDR 45-a3
  current zones are matched by Windows label, country code, zone id

* { L"E. Europe Standard Time", L"", L"Asia/Nicosia" },
* { L"E. Europe Standard Time", L"CY", L"Asia/Nicosia" },
  { L"E. Europe Standard Time", L"", L"Europe/Chisinau" },
  { L"E. Europe Standard Time", L"MD", L"Europe/Chisinau" },
  { L"GTB Standard Time", L"CY", L"Asia/Nicosia Asia/Famagusta" },

* { L"Eastern Standard Time", L"TC", L"America/Grand_Turk" },
  { L"Eastern Standard Time", L"", L"America/New_York" },
  { L"Eastern Standard Time", L"BS", L"America/Nassau" },
  { L"Eastern Standard Time", L"CA", L"America/Toronto America/Iqaluit" },
  { L"Eastern Standard Time", L"US", L"America/New_York America/Detroit America/Indiana/Petersburg America/Indiana/Vincennes America/Indiana/Winamac America/Kentucky/Monticello America/Louisville" },
  { L"Eastern Standard Time", L"ZZ", L"EST5EDT" },
  { L"Turks And Caicos Standard Time", L"TC", L"America/Grand_Turk" },
  { L"Turks And Caicos Standard Time", L"", L"America/Grand_Turk" },

* { L"Egypt Standard Time", L"PS", L"Asia/Gaza Asia/Hebron" },
  { L"Egypt Standard Time", L"", L"Africa/Cairo" },
  { L"Egypt Standard Time", L"EG", L"Africa/Cairo" },
  { L"West Bank Standard Time", L"", L"Asia/Hebron" },
  { L"West Bank Standard Time", L"PS", L"Asia/Hebron Asia/Gaza" },

* { L"Greenwich Standard Time", L"EH", L"Africa/El_Aaiun" },
  { L"Greenwich Standard Time", L"", L"Atlantic/Reykjavik" },
  { L"Greenwich Standard Time", L"BF", L"Africa/Ouagadougou" },
  { L"Greenwich Standard Time", L"CI", L"Africa/Abidjan" },
  { L"Greenwich Standard Time", L"GH", L"Africa/Accra" },
  { L"Greenwich Standard Time", L"GL", L"America/Danmarkshavn" },
  { L"Greenwich Standard Time", L"GM", L"Africa/Banjul" },
  { L"Greenwich Standard Time", L"GN", L"Africa/Conakry" },
  { L"Greenwich Standard Time", L"GW", L"Africa/Bissau" },
  { L"Greenwich Standard Time", L"IS", L"Atlantic/Reykjavik" },
  { L"Greenwich Standard Time", L"LR", L"Africa/Monrovia" },
  { L"Greenwich Standard Time", L"ML", L"Africa/Bamako" },
  { L"Greenwich Standard Time", L"MR", L"Africa/Nouakchott" },
  { L"Greenwich Standard Time", L"SH", L"Atlantic/St_Helena" },
  { L"Greenwich Standard Time", L"SL", L"Africa/Freetown" },
  { L"Greenwich Standard Time", L"SN", L"Africa/Dakar" },
  { L"Greenwich Standard Time", L"TG", L"Africa/Lome" },
  { L"Morocco Standard Time", L"EH", L"Africa/El_Aaiun" },

* { L"Kaliningrad Standard Time", L"BY", L"Europe/Minsk" },
  { L"Kaliningrad Standard Time", L"", L"Europe/Kaliningrad" },
  { L"Kaliningrad Standard Time", L"RU", L"Europe/Kaliningrad" },
  { L"Belarus Standard Time", L"BY", L"Europe/Minsk" },
  { L"Belarus Standard Time", L"", L"Europe/Minsk" },

* { L"Kamchatka Standard Time", L"", L"Asia/Kamchatka" },
  { L"Russia Time Zone 11", L"", L"Asia/Kamchatka" },

* { L"Hawaiian Standard Time", L"TK", L"Pacific/Fakaofo" },
  { L"Hawaiian Standard Time", L"", L"Pacific/Honolulu" },
  { L"Hawaiian Standard Time", L"CK", L"Pacific/Rarotonga" },
  { L"Hawaiian Standard Time", L"PF", L"Pacific/Tahiti" },
  { L"Hawaiian Standard Time", L"US", L"Pacific/Honolulu" },
  { L"Hawaiian Standard Time", L"ZZ", L"Etc/GMT+10" },
  { L"UTC+13", L"TK", L"Pacific/Fakaofo" },

* { L"Mid-Atlantic Standard Time", L"", L"Atlantic/South_Georgia" },
  { L"UTC-02", L"GS", L"Atlantic/South_Georgia" },

* { L"SA Pacific Standard Time", L"HT", L"America/Port-au-Prince" },
  { L"SA Pacific Standard Time", L"", L"America/Bogota" },
  { L"SA Pacific Standard Time", L"BR", L"America/Rio_Branco America/Eirunepe" },
  { L"SA Pacific Standard Time", L"CA", L"America/Coral_Harbour" },
  { L"SA Pacific Standard Time", L"CO", L"America/Bogota" },
  { L"SA Pacific Standard Time", L"EC", L"America/Guayaquil" },
  { L"SA Pacific Standard Time", L"JM", L"America/Jamaica" },
  { L"SA Pacific Standard Time", L"KY", L"America/Cayman" },
  { L"SA Pacific Standard Time", L"PA", L"America/Panama" },
  { L"SA Pacific Standard Time", L"PE", L"America/Lima" },
  { L"SA Pacific Standard Time", L"ZZ", L"Etc/GMT+5" },
  { L"Haiti Standard Time", L"HT", L"America/Port-au-Prince" },
  { L"Haiti Standard Time", L"", L"America/Port-au-Prince" },

* { L"South Africa Standard Time", L"LY", L"Africa/Tripoli" },
};
  { L"South Africa Standard Time", L"", L"Africa/Johannesburg" },
  { L"South Africa Standard Time", L"BI", L"Africa/Bujumbura" },
  { L"South Africa Standard Time", L"BW", L"Africa/Gaborone" },
  { L"South Africa Standard Time", L"CD", L"Africa/Lubumbashi" },
  { L"South Africa Standard Time", L"LS", L"Africa/Maseru" },
  { L"South Africa Standard Time", L"MW", L"Africa/Blantyre" },
  { L"South Africa Standard Time", L"MZ", L"Africa/Maputo" },
  { L"South Africa Standard Time", L"RW", L"Africa/Kigali" },
  { L"South Africa Standard Time", L"SZ", L"Africa/Mbabane" },
  { L"South Africa Standard Time", L"ZA", L"Africa/Johannesburg" },
  { L"South Africa Standard Time", L"ZM", L"Africa/Lusaka" },
  { L"South Africa Standard Time", L"ZW", L"Africa/Harare" },
  { L"South Africa Standard Time", L"ZZ", L"Etc/GMT-2" },
  { L"Libya Standard Time", L"", L"Africa/Tripoli" },
  { L"Libya Standard Time", L"LY", L"Africa/Tripoli" },

[-- Attachment #3: tzmap-cldr-42-43.diff --]
[-- Type: text/plain, Size: 2296 bytes --]

--- tzmap-cldr-42.h	2024-03-22 09:29:06.248366800 -0600
+++ tzmap-cldr-43.h	2024-03-22 09:29:18.388208900 -0600
@@ -95,11 +95,11 @@
   { L"Central Pacific Standard Time", L"ZZ", L"Etc/GMT-11" },
   { L"Central Standard Time", L"", L"America/Chicago" },
   { L"Central Standard Time", L"CA", L"America/Winnipeg America/Rainy_River America/Rankin_Inlet America/Resolute" },
-  { L"Central Standard Time", L"MX", L"America/Matamoros" },
+  { L"Central Standard Time", L"MX", L"America/Matamoros America/Ojinaga" },
   { L"Central Standard Time", L"US", L"America/Chicago America/Indiana/Knox America/Indiana/Tell_City America/Menominee America/North_Dakota/Beulah America/North_Dakota/Center America/North_Dakota/New_Salem" },
   { L"Central Standard Time", L"ZZ", L"CST6CDT" },
   { L"Central Standard Time (Mexico)", L"", L"America/Mexico_City" },
-  { L"Central Standard Time (Mexico)", L"MX", L"America/Mexico_City America/Bahia_Banderas America/Merida America/Monterrey" },
+  { L"Central Standard Time (Mexico)", L"MX", L"America/Mexico_City America/Bahia_Banderas America/Merida America/Monterrey America/Chihuahua " },
   { L"Chatham Islands Standard Time", L"", L"Pacific/Chatham" },
   { L"Chatham Islands Standard Time", L"NZ", L"Pacific/Chatham" },
   { L"China Standard Time", L"", L"Asia/Shanghai" },
@@ -231,11 +231,11 @@
   { L"Morocco Standard Time", L"MA", L"Africa/Casablanca" },
   { L"Mountain Standard Time", L"", L"America/Denver" },
   { L"Mountain Standard Time", L"CA", L"America/Edmonton America/Cambridge_Bay America/Inuvik America/Yellowknife" },
-  { L"Mountain Standard Time", L"MX", L"America/Ojinaga" },
+  { L"Mountain Standard Time", L"MX", L"America/Ciudad_Juarez" },
   { L"Mountain Standard Time", L"US", L"America/Denver America/Boise" },
   { L"Mountain Standard Time", L"ZZ", L"MST7MDT" },
-  { L"Mountain Standard Time (Mexico)", L"", L"America/Chihuahua" },
-  { L"Mountain Standard Time (Mexico)", L"MX", L"America/Chihuahua America/Mazatlan" },
+  { L"Mountain Standard Time (Mexico)", L"", L"America/Mazatlan" },
+  { L"Mountain Standard Time (Mexico)", L"MX", L"America/Mazatlan" },
   { L"Myanmar Standard Time", L"", L"Asia/Rangoon" },
   { L"Myanmar Standard Time", L"CC", L"Indian/Cocos" },
   { L"Myanmar Standard Time", L"MM", L"Asia/Rangoon" },

[-- Attachment #4: tzmap-cldr-44-1-45-a3.diff --]
[-- Type: text/plain, Size: 5718 bytes --]

--- tzmap-cldr-44-1.h	2024-03-21 08:58:13.462059500 -0600
+++ tzmap-cldr-45-a3.h	2024-03-21 08:58:35.203692800 -0600
@@ -64,12 +64,11 @@
   { L"Central America Standard Time", L"NI", L"America/Managua" },
   { L"Central America Standard Time", L"SV", L"America/El_Salvador" },
   { L"Central America Standard Time", L"ZZ", L"Etc/GMT+6" },
-  { L"Central Asia Standard Time", L"", L"Asia/Almaty" },
+  { L"Central Asia Standard Time", L"", L"Asia/Bishkek" },
   { L"Central Asia Standard Time", L"AQ", L"Antarctica/Vostok" },
   { L"Central Asia Standard Time", L"CN", L"Asia/Urumqi" },
   { L"Central Asia Standard Time", L"IO", L"Indian/Chagos" },
   { L"Central Asia Standard Time", L"KG", L"Asia/Bishkek" },
-  { L"Central Asia Standard Time", L"KZ", L"Asia/Almaty Asia/Qostanay" },
   { L"Central Asia Standard Time", L"ZZ", L"Etc/GMT-6" },
   { L"Central Brazilian Standard Time", L"", L"America/Cuiaba" },
   { L"Central Brazilian Standard Time", L"BR", L"America/Cuiaba America/Campo_Grande" },
@@ -94,7 +93,7 @@
   { L"Central Pacific Standard Time", L"VU", L"Pacific/Efate" },
   { L"Central Pacific Standard Time", L"ZZ", L"Etc/GMT-11" },
   { L"Central Standard Time", L"", L"America/Chicago" },
-  { L"Central Standard Time", L"CA", L"America/Winnipeg America/Rainy_River America/Rankin_Inlet America/Resolute" },
+  { L"Central Standard Time", L"CA", L"America/Winnipeg America/Rankin_Inlet America/Resolute" },
   { L"Central Standard Time", L"MX", L"America/Matamoros America/Ojinaga" },
   { L"Central Standard Time", L"US", L"America/Chicago America/Indiana/Knox America/Indiana/Tell_City America/Menominee America/North_Dakota/Beulah America/North_Dakota/Center America/North_Dakota/New_Salem" },
   { L"Central Standard Time", L"ZZ", L"CST6CDT" },
@@ -133,7 +132,7 @@
   { L"Easter Island Standard Time", L"CL", L"Pacific/Easter" },
   { L"Eastern Standard Time", L"", L"America/New_York" },
   { L"Eastern Standard Time", L"BS", L"America/Nassau" },
-  { L"Eastern Standard Time", L"CA", L"America/Toronto America/Iqaluit America/Montreal America/Nipigon America/Pangnirtung America/Thunder_Bay" },
+  { L"Eastern Standard Time", L"CA", L"America/Toronto America/Iqaluit" },
   { L"Eastern Standard Time", L"US", L"America/New_York America/Detroit America/Indiana/Petersburg America/Indiana/Vincennes America/Indiana/Winamac America/Kentucky/Monticello America/Louisville" },
   { L"Eastern Standard Time", L"ZZ", L"EST5EDT" },
   { L"Eastern Standard Time (Mexico)", L"", L"America/Cancun" },
@@ -149,7 +148,7 @@
   { L"FLE Standard Time", L"FI", L"Europe/Helsinki" },
   { L"FLE Standard Time", L"LT", L"Europe/Vilnius" },
   { L"FLE Standard Time", L"LV", L"Europe/Riga" },
-  { L"FLE Standard Time", L"UA", L"Europe/Kiev Europe/Uzhgorod Europe/Zaporozhye" },
+  { L"FLE Standard Time", L"UA", L"Europe/Kiev" },
   { L"Fiji Standard Time", L"", L"Pacific/Fiji" },
   { L"Fiji Standard Time", L"FJ", L"Pacific/Fiji" },
   { L"GMT Standard Time", L"", L"Europe/London" },
@@ -190,7 +189,6 @@
   { L"Hawaiian Standard Time", L"", L"Pacific/Honolulu" },
   { L"Hawaiian Standard Time", L"CK", L"Pacific/Rarotonga" },
   { L"Hawaiian Standard Time", L"PF", L"Pacific/Tahiti" },
-  { L"Hawaiian Standard Time", L"UM", L"Pacific/Johnston" },
   { L"Hawaiian Standard Time", L"US", L"Pacific/Honolulu" },
   { L"Hawaiian Standard Time", L"ZZ", L"Etc/GMT+10" },
   { L"India Standard Time", L"", L"Asia/Kolkata" },
@@ -230,7 +228,7 @@
   { L"Morocco Standard Time", L"EH", L"Africa/El_Aaiun" },
   { L"Morocco Standard Time", L"MA", L"Africa/Casablanca" },
   { L"Mountain Standard Time", L"", L"America/Denver" },
-  { L"Mountain Standard Time", L"CA", L"America/Edmonton America/Cambridge_Bay America/Inuvik America/Yellowknife" },
+  { L"Mountain Standard Time", L"CA", L"America/Edmonton America/Cambridge_Bay America/Inuvik" },
   { L"Mountain Standard Time", L"MX", L"America/Ciudad_Juarez" },
   { L"Mountain Standard Time", L"US", L"America/Denver America/Boise" },
   { L"Mountain Standard Time", L"ZZ", L"MST7MDT" },
@@ -267,7 +265,7 @@
   { L"Pacific Standard Time", L"US", L"America/Los_Angeles" },
   { L"Pacific Standard Time", L"ZZ", L"PST8PDT" },
   { L"Pacific Standard Time (Mexico)", L"", L"America/Tijuana" },
-  { L"Pacific Standard Time (Mexico)", L"MX", L"America/Tijuana America/Santa_Isabel" },
+  { L"Pacific Standard Time (Mexico)", L"MX", L"America/Tijuana" },
   { L"Pakistan Standard Time", L"", L"Asia/Karachi" },
   { L"Pakistan Standard Time", L"PK", L"Asia/Karachi" },
   { L"Paraguay Standard Time", L"", L"America/Asuncion" },
@@ -383,7 +381,7 @@
   { L"Taipei Standard Time", L"", L"Asia/Taipei" },
   { L"Taipei Standard Time", L"TW", L"Asia/Taipei" },
   { L"Tasmania Standard Time", L"", L"Australia/Hobart" },
-  { L"Tasmania Standard Time", L"AU", L"Australia/Hobart Australia/Currie Antarctica/Macquarie" },
+  { L"Tasmania Standard Time", L"AU", L"Australia/Hobart Antarctica/Macquarie" },
   { L"Tocantins Standard Time", L"", L"America/Araguaina" },
   { L"Tocantins Standard Time", L"BR", L"America/Araguaina" },
   { L"Tokyo Standard Time", L"", L"Asia/Tokyo" },
@@ -484,7 +482,7 @@
   { L"W. Mongolia Standard Time", L"MN", L"Asia/Hovd" },
   { L"West Asia Standard Time", L"", L"Asia/Tashkent" },
   { L"West Asia Standard Time", L"AQ", L"Antarctica/Mawson" },
-  { L"West Asia Standard Time", L"KZ", L"Asia/Oral Asia/Aqtau Asia/Aqtobe Asia/Atyrau" },
+  { L"West Asia Standard Time", L"KZ", L"Asia/Oral Asia/Almaty Asia/Aqtau Asia/Aqtobe Asia/Atyrau Asia/Qostanay" },
   { L"West Asia Standard Time", L"MV", L"Indian/Maldives" },
   { L"West Asia Standard Time", L"TF", L"Indian/Kerguelen" },
   { L"West Asia Standard Time", L"TJ", L"Asia/Dushanbe" },

  reply	other threads:[~2024-03-22 16:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKxAwDomYU4=EOyMXTUcgDQJp0k7jQncRSChGB86xHT+9+hucA@mail.gmail.com>
     [not found] ` <86ff5be5-ccae-4bc0-81af-46abc54e549d@systematicsw.ab.ca>
2024-03-20 20:59   ` Fwd: " Brian Inglis
2024-03-21  9:36     ` Corinna Vinschen
2024-03-22 16:02       ` Brian Inglis [this message]
2024-03-22 20:02         ` Brian Inglis
2024-03-22 20:10         ` Brian Inglis
2024-03-23  9:54         ` Corinna Vinschen
2024-03-23 16:38           ` Brian Inglis
2024-03-23 18:54             ` Brian Inglis
2024-03-23 21:11             ` Corinna Vinschen
2024-03-28  8:25               ` [tz] Ubuntu drops old-style links - tzdata split test package Brian Inglis
2024-03-28 10:13                 ` Corinna Vinschen
2024-03-28 18:35                   ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=88dd91a6-5fde-49a7-a0a5-afd5e9b01e15@SystematicSW.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).