<i18n dev> RFR: 8285838: DST not applying properly with zone id offset set with TZ env variable [v6]

Gaurav Chaudhari duke at openjdk.java.net
Tue Jun 7 14:15:56 UTC 2022

On Wed, 1 Jun 2022 13:32:36 GMT, Gaurav Chaudhari <duke at openjdk.java.net> wrote:

>> This fix ensures that when a lookup for a custom TZ code fails, and an attempt is made to find the GMT offset in order to get the current time, Daylight savings rules are applied correctly.
> Gaurav Chaudhari has updated the pull request incrementally with two additional commits since the last revision:
>  - 8285838: Cleanup of trailing whitespace
>  - 8285838: Corrected month comparison check for TZ DST

Appreciate the suggestion, I fixed up my test and simplified it as you said, and checked against a few spawned LocalDate(s) to verify the functionality is still good.


PR: https://git.openjdk.java.net/jdk/pull/8661

More information about the i18n-dev mailing list