PrimitiveDateTime strips leading 0s in hour #639
Replies: 1 comment 2 replies
-
Can you provide code to explain what you're doing? It sounds like two unrelated things that have no guarantee of compatibility. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I deserialize a datetime, e.g.
2023-11-30 02:06:15
as a PrimitiveDateTime, it strips the leading 0 and returns2023-11-30 2:06:15.0
. Unfortunately, this is no longer parseable as a PrimitiveDateTime, with a malformed hour field.Is there a way to have it not trim that 0?
Beta Was this translation helpful? Give feedback.
All reactions