From 0d7fabda42e513e04d324c0da6fe7b9a5937d7df Mon Sep 17 00:00:00 2001 From: Dan Rabinowitz Date: Mon, 1 Oct 2018 22:37:28 -0600 Subject: [PATCH] Add documentation for dateFormat and timeFormat --- _site/content/modules/clocks.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_site/content/modules/clocks.md b/_site/content/modules/clocks.md index 7eced25d..db12b0b4 100644 --- a/_site/content/modules/clocks.md +++ b/_site/content/modules/clocks.md @@ -55,6 +55,10 @@ The foreground color for the odd-numbered rows.
Values: Any X11 color name. +`dateFormat`
+The format of the date string for all clocks.
+Values: Any valid Go date layout which is handled by Time.Format. Defaults to Jan 2. + `enabled`
Determines whether or not this module is executed and if its data displayed onscreen.
Values: `true`, `false`. @@ -77,3 +81,7 @@ Defines the display order of the clocks in the widget.
Values: `alphabetical` or `chronological`. `alphabetical` will sort in acending order by `key`, `chronological` will sort in ascending order by date/time. + +`timeFormat`
+The format of the time string for all clocks.
+Values: Any valid Go time layout which is handled by Time.Format. Defaults to 15:04 MST.