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

Andrew John Hughes andrew at openjdk.org
Mon Sep 26 00:07:34 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"
> ~~~

While this is still waiting for approval, I've added an update to the `TimeZoneNamesTest` to check these values.

This change is also included in the 17u PR: https://github.com/openjdk/jdk17u/pull/355

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

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


More information about the jdk-updates-dev mailing list