Skip to content

Support ISO8660 date formats. #21

@cjalmeida

Description

@cjalmeida

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions