-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
8
A DESCRIPTION OF THE PROBLEM :
java.util.TimeZone and java.time.ZonedDateTime use old time zone abbreviations no longer available in the tzdata latest releases. IANA has switched to numeric abbreviations for some time zones in 2017a release ex:
Atlantic/Azores was changed from AZOST to +00
America/Sao_Paulo changed from BRT to -03
When using java.util.TimeZone.getDisplayName(false, TimeZone.SHORT) and ZonedDateTime.ofInstant(beginInstant, timeZone.toZoneId()) returns AZOST and BRT respectively instead of returning +00 and -03.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Can be reproduced by using
TimeZone.getTimeZone("Atlantic/Azores").getDisplayName(false, TimeZone.SHORT);
ZonedDateTime.ofInstant(beginInstant, "Atlantic/Azores")
ACTUAL -
AZOST
FREQUENCY : always
java.util.TimeZone and java.time.ZonedDateTime use old time zone abbreviations no longer available in the tzdata latest releases. IANA has switched to numeric abbreviations for some time zones in 2017a release ex:
Atlantic/Azores was changed from AZOST to +00
America/Sao_Paulo changed from BRT to -03
When using java.util.TimeZone.getDisplayName(false, TimeZone.SHORT) and ZonedDateTime.ofInstant(beginInstant, timeZone.toZoneId()) returns AZOST and BRT respectively instead of returning +00 and -03.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Can be reproduced by using
TimeZone.getTimeZone("Atlantic/Azores").getDisplayName(false, TimeZone.SHORT);
ZonedDateTime.ofInstant(beginInstant, "Atlantic/Azores")
ACTUAL -
AZOST
FREQUENCY : always