-
-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug with leap second parsing ISO 8601 #674
Comments
Two things here:
|
|
I would suggest looking into your logging system in that case, as it's producing invalid values. |
|
Fixed on |
Facing an issue while parsing leap seconds in Iso8601. Currently in our system we generate current time and format it to Iso8601 format serialize and save it in redis. This serialization code goes like this,
And this method generates leap second every once in a while, example:
2023-12-11T11:31:60.000Z
.But while parsing it back to PrimitiveDateTime I am facing en error which says
second must be in the range 0..=59
. Deserializer code looks like thisThe text was updated successfully, but these errors were encountered: