RFR: 8317742: ISO Starndard Date Format implementation consistency on DateTimeFormatter and String.format

温绍锦 duke at openjdk.org
Mon Oct 9 18:55:15 UTC 2023


j.u.Formatter now prints "%tF" (iso standard date) and the result is incorrect when processing year < 0 or year > 9999

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

Commit messages:
 - fix format ""%tF" (iso standard date) not correct

Changes: https://git.openjdk.org/jdk/pull/16033/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16033&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317742
  Stats: 32 lines in 2 files changed: 30 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16033.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16033/head:pull/16033

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


More information about the core-libs-dev mailing list