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

OpenWB Pro: use standards-compliant time format #2740

Open
andig opened this issue Jun 12, 2023 · 2 comments
Open

OpenWB Pro: use standards-compliant time format #2740

andig opened this issue Jun 12, 2023 · 2 comments

Comments

@andig
Copy link
Contributor

andig commented Jun 12, 2023

The current format "date":"2023:06:12-10:48:03", eg. of the /connect.php api does not follow RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#page-4). It rather seems completely arbitrary.

To be parsable by api consumers without additional efforts it should be:

2023-06-12T10:48:03
@kevinwieland
Copy link

This is used otherwise and it won't be changed.
The epoch time should be absolutely perfect for parsing, no?

@andig
Copy link
Contributor Author

andig commented Jun 13, 2023

It requires custom parsing instead of being able to use any standard like mentioned above. I was hoping- given its a custom format- that the api consumer is under control, too. If not happy to close. Year:Month:Day sure looks odd 😀.

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