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

Addismaptransit realtime #1

Open
wants to merge 4 commits into
base: addismaptransit
Choose a base branch
from

Conversation

amenk
Copy link
Member

@amenk amenk commented Apr 7, 2023

Open points:

TODO: It would be nice to-have if the time until the arrival time updates dynamically
Currently it is calculated once.

Also we should take into account if the phone's clock is wrong.

For this we could fetch the server time during plan fetch from
plan.date and calculate the offset with the phone clock and use that to correct the time stamp.

amenk added 3 commits April 6, 2023 19:38
* Before we requested always the plan of the beginning of the month and 12:00
* For realtime features we should request the exact time
* For non-realtime, it should not matter if we request the exact time as well
* Show arrival time if arrivalDelay is set

TODO: It would be nice to-have if the time until the arrival time updates dynamically
Currently it is calculated once.

Also we should take into account if the phone's clock is wrong.

For this we could fetch the server time during plan fetch from
plan.date and calculate the offset with the phone clock and use that to correct the time stamp.
@amenk
Copy link
Member Author

amenk commented Apr 7, 2023

image

@amenk
Copy link
Member Author

amenk commented Apr 7, 2023

GTFS-RT Feed generation example: https://github.com/AddisMap/addismaptransit-gtfsrt

@amenk
Copy link
Member Author

amenk commented Apr 10, 2023

countdown

Added a timer component

…r_count_down package)

TODO: Also we should take into account if the phone's clock is wrong.
For this we could fetch the server time during plan
@amenk
Copy link
Member Author

amenk commented May 4, 2023

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

Successfully merging this pull request may close these issues.

1 participant