clock - This module provides the current date and time
Name |
Type |
Description |
time |
string |
Current time, formatted using the time-format attribute |
date |
string |
Current date, formatted using the date-format attribute |
Name |
Type |
Req |
Description |
time-format |
string |
no |
strftime formatter for the time tag
(default=%H:%M) |
date-format |
string |
no |
strftime formatter for the date date
(default=%x) |
utc |
bool |
no |
Use GMT instead of local timezone (default=false) |
bar:
left:
- clock:
time-format: "%H:%M %Z"
content:
string: {text: "{date} {time}"}