[jdk19u] RFR: 8293834: Update CLDR data following tzdata 2022c update

Naoto Sato naoto at openjdk.org
Fri Sep 16 23:26:59 UTC 2022


On Fri, 16 Sep 2022 17:16:33 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

> This adds the alias for `Europe/Kyiv` to the CLDR translation data, following the tzdata update which introduces this zone.
> 
> This is unnecessary for trunk, as it will be added by an update to CLDR v42, but such updates are not backported.
> 
> Without patch (from https://github.com/openjdk/jdk/pull/10012#issuecomment-1247209990):
> 
> ~~~
> jshell> ZoneId.of("Europe/Kyiv").getDisplayName(TextStyle.FULL, Locale.US)
> $178 ==> "Kyiv Time"
> 
> jshell> ZoneId.of("Europe/Kiev").getDisplayName(TextStyle.FULL, Locale.US)
> $179 ==> "Eastern European Time"
> ~~~
> 
> With patch:
> 
> ~~~
> jshell> ZoneId.of("Europe/Kyiv").getDisplayName(TextStyle.FULL, Locale.US)
> $178 ==> "Eastern European Time"
> 
> jshell> ZoneId.of("Europe/Kiev").getDisplayName(TextStyle.FULL, Locale.US)
> $179 ==> "Eastern European Time"
> ~~~

LGTM. Thanks for the fix.

-------------

Marked as reviewed by naoto (Reviewer).

PR: https://git.openjdk.org/jdk19u/pull/26


More information about the jdk-updates-dev mailing list