Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
There are still cases where timezone information is lost silently due to the interaction between java.util.TimeZone and java.time.ZoneId.
This might be theoretical problem, but I would feel safer if we change the check to:
if (!java.util.TimeZone.getTimeZone(zoneId).toZoneId().equals(ZoneId.of(zoneId))) { throw new ValidationException(errorMessage); }
Attachments
Issue Links
- links to