Like in mushroom template card or other ways I want to show some data with the last_changed data. But last changed shows just a timestamp but not the easy to read “2 minutes ago” and is not translated.
There is time_since
which you can use
You can use the
precision
paramater in case you want more than one time fragmenthttps://www.home-assistant.io/docs/configuration/templating/#time
There is also relative time plus you can use if you want more control over the output.
1 Like
Nice, but then I have a problem with it only being available in English by default? My browser setting is a different language but it shows like “55 minutes”.
That’s one of the reasons I created Relative Time Plus (linked in my previous post). It allows translations to other languages
1 Like
Ah I missed that, would be nice if that is added to core for others to see and use easier.