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

Support for ISO_DATE to Date deserialization #648

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

Conversation

OndroMih
Copy link

Fixes #487.

Deserializes plain ISO_DATE, e.g. "2024-08-21" to java.util.Date in the default system timezone. The reason is that the date is meant to be a date and not exact time. So the final Date instance has the same date in the local timezone as the date on the input.

Dealing with timezones is a bit confusing to me. If somebody thinks it's better to convert the date using UTC, let me know. However, I think the default timezone is a reasonable default.

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.

Not all ISO 8601 offset formats are accepted
1 participant