Relative time is wrong

Hello
The relative, human-readable time, shows wrong values. 46 minutes ago cannot be definitively called an hour ago!!!

Besides that, I hate this form of presenting time of an event. If you are an admin and need absolute value, relative time introduces too much measurement error. It forces you to look in other places where detailed time is displayed, which costs time.
It should be prohibited. Or at least configurable (orange rectangles)

Feature requests are added in GitHub now, not here.
¯\(ツ)/¯ Sounds like you are looking for…

You can try to use this, @petro spent quite a bit of time on it and it does nice stuff for me :slight_smile:

GitHub - Petro31/easy-time-jinja: Easy Time calculations for Home Assistant templates

It can’t really be used in the logbook.or history, which is predefined pages in HA.

Yeah, true, but one could try to recreate it using these templates…but I guess this goes way beyond the wish of the OP :slight_smile:

It’s not a wish nor FR.
It has been discussed multiple times on this forum, and first, I’ve been advised that devs are not gonna change that because it’s considered a neat feature. In the next iteration, I’ve been proposed to program it myself, with no guarantee it’ll be accepted.

This one is mainly about making you aware that the displayed values are unreliable.

We’ll see if Marius’ patience is enough or if the bot wins in the end.

3 Likes

These 2 prs will hopefully make you happier: