Closed olekang closed 3 years ago
Somewhat less likely to be used, but same issue.
isodate.parse_datetime('2020-01-01T23:59.999999999')
isodate.parse_datetime('2020-01-01T23.999999999')
Results in ValueError: microsecond must be in 0..999999
Duplicate of https://github.com/gweis/isodate/issues/53?
Duplicate og #53. Which seems to be closed?
Rounding of fractional seconds breaks when it rounds to 60. (Presumably true for other fractions)
isodate.parse('9999-12-31T23.59.59.9999999') <- DateTime.Max from MS .NET
Example: Python 3.7.3 (default, Jan 22 2021, 20:04:44)
Verison: