FHEM Forum

FHEM => English Corner => Thema gestartet von: disney am 08 Oktober 2019, 21:17:40

Titel: TabletUI clock widget in english
Beitrag von: disney am 08 Oktober 2019, 21:17:40


How do I configure the clock widget in TabletUI to be in English?


Reading the documentation, I think I just need to add

<div data-type="clock"      data-days="english"  data-months="english" </div>

to the <head> section of ./www/tablet/index.html but this does not seem to work.


What am I missing?


Titel: Antw:TabletUI clock widget in english
Beitrag von: Stütti am 08 Oktober 2019, 21:34:06
Hi,

the configuration must not be done within the <head> section.
Additionally the attribute "data-format" (see https://wiki.fhem.de/wiki/FTUI_Widget_Clock#Bezeichner (https://wiki.fhem.de/wiki/FTUI_Widget_Clock#Bezeichner)) and a closing bracket (>) is missing.

Cheers
Stütti
Titel: Antw:TabletUI clock widget in english
Beitrag von: disney am 08 Oktober 2019, 21:57:34


Ahh, Thank you!