RFR: 8210336: DateTimeFormatter predefined formatters should support short time zone offsets [v2]

Chen Liang liach at openjdk.org
Mon Jan 26 19:34:06 UTC 2026


On Mon, 26 Jan 2026 18:54:54 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> This PR is a follow-on fix to [JDK-8032051](https://bugs.openjdk.org/browse/JDK-8032051), where it allowed short offsets only for ZonedDateTime parsing. This fix allows all predefined ISO formatters to accept short offsets. A corresponding CSR has been drafted.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added a test that asserts parse with hour-only offset

Thanks, the new test looks good to me.

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

PR Comment: https://git.openjdk.org/jdk/pull/29393#issuecomment-3801338775


More information about the core-libs-dev mailing list