Merge pull request #4924 from B2krobbery/master

Add simple calendar tooltip example for clock module
This commit is contained in:
Alexis Rouillard
2026-03-16 23:06:03 +01:00
committed by GitHub

View File

@@ -259,7 +259,19 @@ View all valid format options in *strftime(3)* or have a look https://en.cpprefe
"tooltip-format": "{tz_list}"
}
```
5. Simple calendar tooltip
```
"clock": {
"format": "{:%H:%M}",
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"format": {
"today": "<span color='#ffcc66'><b>{}</b></span>"
}
}
}
```
# STYLE
- *#clock*