wassy92x / lovelace-digital-clock

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

24 hour #5

Closed fotis3d closed 3 years ago

fotis3d commented 3 years ago

Hi there. Is there a way to get a 24h time format instead of am/pm ?

Thanks

wassy92x commented 3 years ago

Yes this is possible. Either by setting locale to a country-code which uses typacally the 24h time format e.g. 'de' or by setting timeFomat to a string respectively the desired format: HH:mm

fotis3d commented 3 years ago

yeap worked. thanks ;)