From 896dc90badea07a903fc963cde2a9c15a9de8b09 Mon Sep 17 00:00:00 2001 From: Lars Vonk <36197012+thebetar@users.noreply.github.com> Date: Mon, 4 Mar 2024 19:51:29 +0100 Subject: [PATCH] docs: expand howtos/time-format.md with simple example --- content/docs/howtos/time-format.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/docs/howtos/time-format.md b/content/docs/howtos/time-format.md index f3670685..e56073f9 100644 --- a/content/docs/howtos/time-format.md +++ b/content/docs/howtos/time-format.md @@ -17,3 +17,6 @@ The date format can be specified by selecting the appropriate region in Settings {{< img "images/regolith-screenshot-settings-region.png" "">}} The date and time formats can also be explicitly set via `Xresources`. To do so, override the `i3xrocks.date.format2` `Xresource` key. The format specification for date is simply the arguments that would be passed to the `date` command on the command line. For example, to print the year in 4 digits, specify `+%Y`. + +For example the following line can be added to use the `YYYY-MM-DD hh:mm` format: +`i3xrocks.date.format2: %Y-%m-%d %H:%M` \ No newline at end of file