RFR: 8340073: Support "%z" time zone abbreviation format in TZ files [v2]

Naoto Sato naoto at openjdk.org
Fri Sep 13 18:39:42 UTC 2024


> 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.

Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:

  Do not add all links

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20979/files
  - new: https://git.openjdk.org/jdk/pull/20979/files/142a2f3c..204041ba

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20979&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20979&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20979.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20979/head:pull/20979

PR: https://git.openjdk.org/jdk/pull/20979


More information about the core-libs-dev mailing list