custom-cards / button-card

❇️ Lovelace button-card for home assistant
MIT License
1.97k stars 242 forks source link

Show the timestamp as HomeAssistant does #666

Closed Danit2 closed 1 year ago

Danit2 commented 1 year ago

Is it possible to show the timestamp as text like in HomeAssistant?

I would like to show a timestamt as label but in the same format as HomeAssistant does.

Like: 2 minutes ago or in 5 minutes

Is this possible? Can someone show me a example?

Thanks.

samuele2723 commented 1 year ago

I am also interested

Mariusthvdb commented 1 year ago

join and search the community, there are plenty examples of javascript templates doing this.

or use the label and show_last_changed: true on this card, it is built in by default

Scherm­afbeelding 2023-04-20 om 13 17 04

please close this issue. no bug.

RomRider commented 1 year ago

Supported in 4.0.0-dev11 and future 4.0.0 in any template.

Duplicate of #701 Closing