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

This issue also seems to affect generic cards when you have an entity with a device class of timestamp as well, e.g. the in-built uptime sensor. I've done some debugging and it looks like it's an issue with the translation code with the helpers.relativeTime function. #1421

Closed
wokkeltje13 opened this issue Dec 4, 2023 · 11 comments

Comments

@wokkeltje13
Copy link
Contributor

          This issue also seems to affect generic cards when you have an entity with a device class of timestamp as well, e.g. the in-built uptime sensor. I've done some debugging and it looks like it's an issue with the translation code with the `helpers.relativeTime` function.

Originally posted by @DoctorMod in #1398 (comment)

@wokkeltje13
Copy link
Contributor Author

Have the same issue.

@tieskuh
Copy link
Contributor

tieskuh commented Dec 7, 2023

I think this also effects the waze travel time in the person card. It now shows as 0:15:00 instead of 15 min before

@WesMark
Copy link

WesMark commented Dec 9, 2023

Having the exact same issue here with the generic swap card and sensors that output last changed timestamps.

@WesMark
Copy link

WesMark commented Dec 9, 2023

Screenshot_20231209-210441

This is the error when using an entity of the timestamp device class. With any other entity, the card works perfectly fine.

@wokkeltje13
Copy link
Contributor Author

Things we could do to help fix this issue?

@wokkeltje13
Copy link
Contributor Author

Any update about this bug/error?

@wokkeltje13
Copy link
Contributor Author

UI Lovelance Minimalist is dead?

@rick2909
Copy link
Contributor

Yes owners just abandoned it so we cant merge pull request.

@wokkeltje13
Copy link
Contributor Author

since there is some new activity in this project, maybe this issue can be tac solved.
tnx in advance

@wilbiev
Copy link
Collaborator

wilbiev commented Jan 3, 2025

This will be fixed in the next release. The issues was indeed the helpers.relativeTime function which doesn't work properly. Had to find another way to provide the functionality.

@wilbiev wilbiev mentioned this issue Jan 4, 2025
5 tasks
@wokkeltje13
Copy link
Contributor Author

seems fixed, tnx

@wilbiev wilbiev closed this as completed Jan 5, 2025
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

5 participants