Integrated: 8317979: Use TZ database style abbreviations in the CLDR locale provider
Naoto Sato
naoto at openjdk.org
Wed Oct 18 18:29:43 UTC 2023
On Mon, 16 Oct 2023 19:57:12 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.
This pull request has now been integrated.
Changeset: ce8ebebc
Author: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ce8ebebc77f4ef73852364f6188b43c482337350
Stats: 161 lines in 6 files changed: 138 ins; 1 del; 22 mod
8317979: Use TZ database style abbreviations in the CLDR locale provider
Reviewed-by: rriggs, joehw, lancea, erikj, iris, ihse
-------------
PR: https://git.openjdk.org/jdk/pull/16206
More information about the build-dev
mailing list