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

Date conversion uses different timezones for both directions #43

Open
joha78 opened this issue Jan 17, 2019 · 3 comments
Open

Date conversion uses different timezones for both directions #43

joha78 opened this issue Jan 17, 2019 · 3 comments

Comments

@joha78
Copy link

joha78 commented Jan 17, 2019

LocalDateConverterFactory uses UTC on one side and local timezone on the other side.

joha78 pushed a commit to joha78/rico that referenced this issue Jan 17, 2019
@joha78
Copy link
Author

joha78 commented Jan 17, 2019

A pull request with fixes and additional converters: #44

@hendrikebbers
Copy link
Contributor

Infos about JS time: https://www.w3schools.com/js/js_date_formats.asp

@hendrikebbers
Copy link
Contributor

Maybe we should change our format to "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
See https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
We need to check what we need to do in JS to always get dates in this format.
@giftkugel @madmas ???

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

No branches or pull requests

2 participants