Integrated: 8340073: Support "%z" time zone abbreviation format in TZ files
Naoto Sato
naoto at openjdk.org
Mon Sep 16 20:06:09 UTC 2024
On Thu, 12 Sep 2024 23:03:33 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> Yet another preparation for upgrading the time zone data to 2024b, which introduced a new abbreviation format "%z". The update includes:
> ...
> The main source files' time zone abbreviations now use %z,
> supported by zic since release 2015f and used in vanguard form
> since release 2022b. For example, America/Sao_Paulo now contains
> the zone continuation line "-3:00 Brazil %z", which is less error
> prone than the old "-3:00 Brazil -03/-02". This does not change
> the represented data: the generated TZif files are unchanged.
> Rearguard form still avoids %z, to support obsolescent parsers.
> ...
>
> Also fixed the logic to retrieve the linked tz name that is chaining.
This pull request has now been integrated.
Changeset: 418bb42b
Author: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/418bb42b95b177f5f31f756054d0dd83740c6686
Stats: 19 lines in 2 files changed: 10 ins; 2 del; 7 mod
8340073: Support "%z" time zone abbreviation format in TZ files
Reviewed-by: jlu, joehw, coffeys
-------------
PR: https://git.openjdk.org/jdk/pull/20979
More information about the core-libs-dev
mailing list