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 ISO8660 date formats. #21

Open
cjalmeida opened this issue Jul 18, 2016 · 2 comments
Open

Support ISO8660 date formats. #21

cjalmeida opened this issue Jul 18, 2016 · 2 comments
Assignees
Milestone

Comments

@cjalmeida
Copy link

First of all, great job!

The spec in http://doc.apsstandard.org/2.1/spec/rql/ mandate dates to be in ISO UTC format. This also is the date format on the JSON spec and the format returned by JS Date.toJSON. This means the DateUtil class should not fail on strings like 2016-07-17T02:59:59.999Z.

The thing, though is how that it converts to a LocalDateTime. I'm not sure if dropping the time zone info (the Z in the string) is always the correct solution since some masochists developers might use something different than UTC for their timezone.

@vineey
Copy link
Owner

vineey commented Jul 19, 2016

Thanks for reminding me of this one, I have already think about providing extensions or allowing client code to specify the formatting conversion of dates at a global or per mapping basis. Will include this feature in the next milestone.

@vineey vineey added the feature label Jul 19, 2016
@vineey vineey added this to the 2.1.0 milestone Jul 19, 2016
@vineey vineey self-assigned this Jul 19, 2016
@jaas0301
Copy link

Any idea when it will be available and ready to use?

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

3 participants