[tz] Unicode CLDR supplemental/windowsZones.xml update? -Brooks Harris

Brooks Harris brooks at edlmax.com
Mon May 27 06:23:48 UTC 2024


I got to wondering about that version line in windowsZones.xml.
It is indeed inconsistent.
It appears the intention is to update the line with each TzDb release, 
but this hasn't happened.
It also appears there is not a version for each TzDb release.
The TzDb version of each commit is here:
cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data
/tzdb-version.txt

Paul directed me to the history of commits:
Commits
https://github.com/unicode-org/cldr/commits/main/common/supplemental/windowsZones.xml

Browse each repo to:
common/supplemental/windowsZones.xml

Below is the commit date, commit comment and the <mapTimezones 
otherVersion... line in windowsZones.xml

Commits on Feb 8, 2024
CLDR-17351 Updating CLDR time zone data with IANA TZDB 2024a
<mapTimezones otherVersion="7e11800" typeVersion="2021a">

Commits on Jan 11, 2024
CLDR-17295 tz2023d updates and deprecated zone/metazone cleanup (#3442)
<mapTimezones otherVersion="7e11800" typeVersion="2021a">

Commits on Feb 20, 2023
CLDR-16386 Update windowsZones.xml for 2022g Mexican time zones (#2716)
<mapTimezones otherVersion="7e11800" typeVersion="2021a">

Commits on May 5, 2021
CLDR-14653 Add windows zone mapping for South Sudan (Juba) (#1193)
<mapTimezones otherVersion="7e11800" typeVersion="2021a">

Commits on Mar 8, 2021
CLDR-14569 Improve Windows mappings for UTC (#1086)
<mapTimezones otherVersion="7e11800" typeVersion="2021a">

Commits on Feb 12, 2021
CLDR-14435 Fix mappings for BC cities without DST (#958)
<mapTimezones otherVersion="7e11800" typeVersion="2021a">

Commits on Jan 26, 2021
CLDR-14434 tzdata 2021a updates (#969)
<mapTimezones otherVersion="7e11800" typeVersion="2021a">

Commits on Jan 6, 2021
CLDR-14373 Updating time zone data to 2020f (#909)
<mapTimezones otherVersion="7e11800" typeVersion="2020f">

Commits on Nov 18, 2020
CLDR-14301 Add new Windows time zone for Yukon Standard Time (#842)
<mapTimezones otherVersion="7e11800" typeVersion="2020d">

Commits on Oct 8, 2020
CLDR-14225 tz database 2020b updates (#768)
<mapTimezones otherVersion="7e11500" typeVersion="2020a">

Commits on Aug 26, 2020
CLDR-14126 Updated tz version numbers in windowsZones.xml (#670)
<mapTimezones otherVersion="7e11500" typeVersion="2020a">

Commits on Apr 25, 2020
CLDR-13739 tzdata2020a updates (#440)
<mapTimezones otherVersion="7e11200" typeVersion="2019b">

Commits on Aug 29, 2019
CLDR-13029 Update windowsZones.xml to 2019b level (#139)
<mapTimezones otherVersion="7e11200" typeVersion="2019b">

abridged ...................

Commits on Aug 25, 2015
CLDR-8774 BRS A16 - Updated time zone data to the latest.
<mapTimezones otherVersion="7df0005" typeVersion="2015f">

Commits on Aug 12, 2015
CLDR-8861 Updated metazone / windows mapping for Asia/Pyongyang, updated 
by tzdata2015f.
<mapTimezones otherVersion="7df0004" typeVersion="2015a">

abridged ...................

Commits on Feb 2, 2010
CLDR-1958 Set appropriate svn properties to metaZones.xml and 
windowsZones.xml.
     <version number="$Revision$"/>
     <generation date="$Date$"/>
     <cldrVersion version="1.8"/>

Commits on Feb 1, 2010
CLDR-1958 Reorganize zone mapping data - metaZones.xml/windowsZones.xml 
replace previous metazoneInfo.xml/wintz.xml. Updated DTD to support 
slightly updated data structure in these files. Modified …
     <version number="$Revision: 4533 $"/>
     <generation date="$Date: 2010-01-18 16:55:30 -0500 (Mon, 18 Jan 
2010) $"/>
     <cldrVersion version="1.8"/>








On 2024-05-26 06:45 PM, Brooks Harris via tz wrote:
> On 2024-05-26 06:13 PM, Guy Harris wrote:
>> On May 26, 2024, at 1:54 PM, Brooks Harris via tz <tz at iana.org> wrote:
>>
>>> Duh. Yup. I didn't look carefully enough at the file from 
>>> clrd-release-45.
>>>
>>> It did confuse me because is does have the same line:
>>> <mapTimezones otherVersion="7e11800" typeVersion="2021a">
>>> And it's the same length.
>>> But the changes are there.
>>>
>>> Seems like that line should update?
>> "Should be updated", more like it; it's not clear whether there's an 
>> automated process or if it's done manually.
>>
>> The most likely cause is that, if that line should be updated, the 
>> author of commit 9d96f340ab145003b3e6d12d95ffb16f19a8a529:
>>
>>     https://github.com/unicode-org/cldr/commit/9d96f340ab145003b3e6d12d95ffb16f19a8a529 
>>
>>
>> failed, for some reason, to update it in that commit.
> I have an old version, which I don't remember or didn't comment where 
> it came from, where that line says:
>
> <mapTimezones otherVersion="7e11500" typeVersion="2020a">
>
> So I really expected the later versions to be similarly updated. Hence 
> my stupid confusion.
> My code tried to match that release line to the TzDb release, and 
> failed, causing more side effects and confusion.
>



More information about the tz mailing list