1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add documentation for dateFormat and timeFormat

This commit is contained in:
Dan Rabinowitz 2018-10-01 22:37:28 -06:00
parent e8ef4800f8
commit 0d7fabda42

View File

@ -55,6 +55,10 @@ The foreground color for the odd-numbered rows. <br />
Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11 Values: Any <a href="https://en.wikipedia.org/wiki/X11_color_names">X11
color name</a>. color name</a>.
`dateFormat` <br />
The format of the date string for all clocks. <br />
Values: Any valid Go date layout which is handled by <a href="https://golang.org/pkg/time/#Time.Format">Time.Format</a>. Defaults to Jan 2.
`enabled` <br /> `enabled` <br />
Determines whether or not this module is executed and if its data displayed onscreen. <br /> Determines whether or not this module is executed and if its data displayed onscreen. <br />
Values: `true`, `false`. Values: `true`, `false`.
@ -77,3 +81,7 @@ Defines the display order of the clocks in the widget. <br />
Values: `alphabetical` or `chronological`. `alphabetical` will sort in Values: `alphabetical` or `chronological`. `alphabetical` will sort in
acending order by `key`, `chronological` will sort in ascending order by acending order by `key`, `chronological` will sort in ascending order by
date/time. date/time.
`timeFormat` <br />
The format of the time string for all clocks. <br />
Values: Any valid Go time layout which is handled by <a href="https://golang.org/pkg/time/#Time.Format">Time.Format</a>. Defaults to 15:04 MST.