microsoft / icu

Fork of https://github.com/unicode-org/icu for ICU4C, with changes needed for consumption inside various Microsoft products.
Other
49 stars 45 forks source link

TZ database version #125

Open computerquip opened 1 year ago

computerquip commented 1 year ago

This might be a duplicate of https://github.com/microsoft/icu/issues/120 but the entire library doesn't need to be updated in order to update timezone information, only the timezone resource files. I'm unsure how this is shipped so I could be incorrect on this.

I started creating a custom tzdb using libicu directly for use with date/tz, similar to how STL does it for std::chrono and ended up with a hard realization that the TZ database included with the version of libicu shipped on Windows is over 2 years out of date at this point, shipping with version 2021a of the IANA database.

So my question is straight forward, is this library meant to be used as a reliable TZ database for Windows?

References:

Somewhat Related:

yuryu commented 1 year ago

Any update on this from the maintainers? Can we expect future updates to the tz database in icu.dll? I'm writing a patch for https://github.com/google/cctz (which is used by https://abseil.io/) to support windows https://github.com/google/cctz/issues/53 and trying to figure out if it's a good source of zoneinfo on Windows.