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

DSL-JSON dosn't support an optional timezone for ZonedDateTime vaues #130

Open
plokhotnyuk opened this issue Apr 9, 2019 · 1 comment
Open

Comments

@plokhotnyuk
Copy link
Contributor

plokhotnyuk commented Apr 9, 2019

Moreover it throws a parsing error for valid values like: 2018-03-25T02:30+01:00[Europe/Warsaw].

Please also take in account that the default ISO-8601 parser and serializer in JDK8 has a bug (already fixed in JDK11) that can affect parsing of values during hours of starting and ending of daylight saving time periods, like:
2018-03-25T02:30+00:00[Europe/Warsaw]
2018-03-25T02:30+02:00[Europe/Warsaw]
2018-03-25T02:30+03:00[Europe/Warsaw]
2018-10-28T02:30+00:00[Europe/Warsaw]
2018-10-28T02:30+01:00[Europe/Warsaw]
2018-10-28T02:30+02:00[Europe/Warsaw]
2018-10-28T02:30+03:00[Europe/Warsaw]

@zapov
Copy link
Member

zapov commented Apr 17, 2019

Yeah, it's worth adding support for explicit TZ.

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

No branches or pull requests

2 participants