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

provide absolute departure/arrival timestamps? #5

Open
derhuerst opened this issue Feb 18, 2022 · 1 comment
Open

provide absolute departure/arrival timestamps? #5

derhuerst opened this issue Feb 18, 2022 · 1 comment
Assignees

Comments

@derhuerst
Copy link

If I understood the API correctly, it currently doesn't respond with absolute date+time values (e.g. a UNIX timestamp or an ISO 8601 string).

https://github.com/konhi/poland-public-transport-api/blob/main/src/public/v1/openapi.json#L295-L303

Including them would allow clients to have their own "x min/sec" left logic, enabling internationalisation, offline-updating countdowns, etc. Is it possible given the upstream API?

@konhi
Copy link
Owner

konhi commented Feb 18, 2022

it currently doesn't respond with absolute date+time values
That's correct!

I definitely agree that absolute timestamps would be definitely better, and I have interest in doing that! Additionally, this is mentioned in both GTFS and FPTF. Thank you very much for pointing that detail out!

@konhi konhi self-assigned this Feb 18, 2022
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