You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Leap seconds with positive UTC offsets are not detected #69
These timestamps describe the same known leap second, but only the UTC form produces LeapSecondException:
ITU.parseDateTime("2016-12-31T23:59:60Z");
// LeapSecondException, verified=trueITU.parseDateTime("2017-01-01T00:59:60+01:00");
// DateTimeException: Invalid value for SecondOfMinute (valid values 0 - 59): 60
The second call should also throw LeapSecondException with verified=true and a nearest date-time representing 2017-01-01T00:00:00Z. Positive fractional offsets such as +05:30 fail too.
Activity