[tz] Wrong timezone Information provided

Matt Johnson-Pint mattjohnsonpint at gmail.com
Tue Oct 11 00:31:20 UTC 2022


Exactly.  Though truly the only owner is the Unicode CLDR project, and
really anyone can submit PRs for that.

It's also used heavily by browsers such as Chrome, such as if you call this
JavaScript function to get your local time zone:
Intl.DateTimeFormat().resolvedOptions().timeZone

On Linux/Mac, the IANA time zone ID is already available, but on Windows it
has to map through an ICU function, which uses the CLDR windowsZones.xml
file.


On Fri, Oct 7, 2022 at 10:07 AM Brian Inglis via tz <tz at iana.org> wrote:

> On 2022-10-06 14:01, Brooks Harris via tz wrote:
> > On 2022-10-06 3:49 PM, Guy Harris via tz wrote:
> >>   I don't know whether anything in Windows, or any software from
> >> Microsoft that runs on Windows, uses the tzdb;
> > Windows derives its time zones from tzdb, mapped through Unicode Common
> > Locale Data Repository (CLDR):
> > GitHub windowsZones.xml
> >
> https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml
> > I believe this file is curated by Microsoft.
>
> This file is provided by Unicode related CLDR project to map from
> Windows time zones to tzdb time zones used to access their locale time
> data and allow related ICU project locale time to work under Windows.
>
> Updates have been provided by MS and IBM contributors, and ex-MS tz
> contributor Matt Johnson/-Pint.
>
> FYI Cygwin creates POSIX locale(7) objects from Windows locale data and
> POSIX locale settings, including mappings like date and time formats.
>
> --
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
>
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in binary units and prefixes, physical quantities in SI.]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mm.icann.org/pipermail/tz/attachments/20221010/60b93d28/attachment.html>


More information about the tz mailing list