RFR: 8317979: Use TZ database style abbreviations in the CLDR locale provider [v2]
Joe Wang
joehw at openjdk.org
Tue Oct 17 04:15:25 UTC 2023
On Mon, 16 Oct 2023 23:37:51 GMT, Naoto Sato <naoto at openjdk.org> wrote:
>> CLDR provides very few short names for time zones, such as PST/PDT. This will typically end up substituting names from the COMPAT provider. Once the COMPAT is removed, they will be displayed in the GMT format, i.e., GMT+XX:YY. Although some of the short names in the COMPAT provider are somewhat questionable (less common ones are simply made up from the long names by taking the initials), it would not be desirable for them to fall back to the GMT format.
>> To mitigate the situation, CLDR can use the abbreviated names from the TZ database, which contains legacy (major) short names as FORMAT. The CLDR provider can use them instead of the GMT offset style. This enhancement is a precursor to the future removal of the COMPAT provider.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>
> Use ZoneOffset to parse offset
Marked as reviewed by joehw (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/16206#pullrequestreview-1681329184
More information about the build-dev
mailing list