-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: Datum Import
-
None
Sometimes when import data from other systems, the dates are in a DST-observing time zone such as America/New_York but it includes an illegal date during a DST transition. An error message like this is returned:
Cannot parse "2019-03-10 02:00:00": Illegal instant due to time zone offset transition (America/New_York)
Although technically accurate, an easier-to-understand error message would be helpful in this somewhat-common situation.
The org.joda.time.format.DateTimeParserBucket class is throwing a org.joda.time.IllegalInstantException exception with this specific message.