wassy92x / lovelace-digital-clock

A custom digital clock card for Home Assistant
MIT License
96 stars 17 forks source link

Year in date line #3

Closed dalwhin closed 3 years ago

dalwhin commented 3 years ago

Thanks a lot for this wonderful digital clock. It's not an issue, what I am writing. Just an idea. Instead of only:

Donnerstag, 24. Juni

Will it be possible to have:

Donnerstag, 24. Juni 2021

With datefFormat year: short/long

Thanks a lot

wassy92x commented 3 years ago

This will be possible by setting dateFormat to

dateFormat:
  weekday: long
  day: 2-digit
  month: short
  year: numeric
dalwhin commented 3 years ago

@wassy92x cool :-) didn't know about that. Maybe you could write it in readme for other people interested in your card.

Thanks a lot!

I will close this "issue".