Skip to content
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

Separate ISO and default serializers #393

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dkhalanskyjb
Copy link
Contributor

Sometimes, X.Formats.ISO and X.parse()/X.toString() behave subtly differently; currently, it's the case for LocalDateTime and LocalTime.

With this change, every entity that supports custom formats obtains a separate default serializer in addition to the
ISO 8601 serializer, which now properly delegates to the corresponding DateTimeFormat.

Fixes #351

Sometimes, `X.Formats.ISO` and `X.parse()`/`X.toString()` behave
subtly differently; currently, it's the case for `LocalDateTime`
and `LocalTime`.

With this change, every entity that supports custom formats obtains
a separate default serializer in addition to the
ISO 8601 serializer, which now properly delegates to the
corresponding `DateTimeFormat`.

Fixes #351
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the ISO serializers omitting seconds when zero and emitting fractional parts in groups of three signs
1 participant