-
Notifications
You must be signed in to change notification settings - Fork 8
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
Bring back countdown #14
Comments
Hi, 1.3 is only a beta release... and I'm not really happy with the way this component works right now (lots of issues behind the scenes - and its not very robust against the crazyness that is the wiener linien api) cheers |
I wanted to have this in a template card with easy dynamic formatting for 12 seconds, 5 minutes, .. etc. until departure, but relative time currently only works with times in the past. So it first calculates the time difference in seconds in the future and then creates a time in past with the exact same difference:
Not sure if there is a better way to achieve this (without coding the seconds/minutes/.. formatting myself), but wanted to share in case some one else needs it. |
1.3
Not having countdown available any more severly limits the usage in a number of visualisations - bar cards with severity (like: red color if I can't make it from my behind to the station anyways, green if I can make it), placing the value in a custom map based on a picture,... all that does not seem to work (at least not for me) without a countdown-attribute.
prettyplease? ;-)
ahja: danke, tofuschnitzel, dass es dich gibt ;-))
log
The text was updated successfully, but these errors were encountered: