clock: allow custom formatting for today in calendar

This commit is contained in:
Daniel De Graaf
2020-08-05 20:31:36 -04:00
parent 31243cdc20
commit 8cd6e13308
2 changed files with 11 additions and 1 deletions

View File

@ -31,6 +31,11 @@ The *clock* module displays the current date and time.
default: inferred from current locale ++
A locale to be used to display the time. Intended to render times in custom timezones with the proper language and format.
*today-format*: ++
typeof: string ++
default: <b><u>{}</u></b> ++
The format of today's date in the calendar.
*max-length*: ++
typeof: integer ++
The maximum length in character the module should display.