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/Time output format #123

Open
iyourshaw opened this issue Nov 27, 2024 · 0 comments
Open

Date/Time output format #123

iyourshaw opened this issue Nov 27, 2024 · 0 comments

Comments

@iyourshaw
Copy link
Collaborator

The API Controllers seem to output timestamps in a non-standard numeric format, For example in ProcessedSpat:

"minEndTime": 1732129222.0999999

whereas those fields should be ISO8601 strings according to the schema:
https://github.com/usdot-jpo-ode/jpo-geojsonconverter/blob/develop/jpo-geojsonconverter/src/main/resources/schemas/processed-spat.schema.json

The API app might need jsr310 support added and/or add some Jackson configuration settings added to application.properties such as:

spring.jackson.serialization.write-dates-as-timestamps=false
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

1 participant