-
Notifications
You must be signed in to change notification settings - Fork 6
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
Minutes until departure instead of time #24
Comments
It's not something that is implemented. However it shouldn't be too hard to do. I will try and find the time to look into this. |
@jonkristian following up on this, I notice that when there are no delays, I get the text "Arrives in x minutes" below the line number. However, when there is a delay, this text is not shown and instead it shows the number of minutes delay in red on the right. Is there any way to show both? |
Yes this makes sense, I will see if I can get it added along with a flag to set remaining time. By the way, thank you so much for the coffees, highly appreciated! |
@toco1 Working on a rewrite and just want to make sure I understood what you were asking, you want an option to replace the time on the right hand side with a countdown like you get via the |
The underlying issue is that entur does not return a datetime, just time string. So I have to get creative here, I will look into how this can be improved. |
@repvik Could you please test the latest from master branch and see how that works? I've rewritten human readable calculations so it should track correctly when time crosses midnight, and I've added a threshold of about 8 minutes for a "departs in..." string too. |
It is possible to show the remaining time until departure instead/additionally to the departure time on the right-hand side of the card?
The text was updated successfully, but these errors were encountered: