summaryrefslogtreecommitdiff
path: root/man/i3status.man
diff options
context:
space:
mode:
authorBjörn Lindström <bkhl@elektrubadur.se>2016-10-24 13:43:04 +0700
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2016-10-24 08:43:04 +0200
commitbe87c5ac3881886b2274dc270535d34c4eb82bf3 (patch)
treefa75a7bf7fe835dca9c575b94db7512200cfbff6 /man/i3status.man
parent707ceffc8b556a3797651d78c0c0f37bae9884ea (diff)
Setting of custom locale in tztime configuration. (#168)
To be able to show my birth country's time zone in that country's locale, and my local time in my current locale.
Diffstat (limited to 'man/i3status.man')
-rw-r--r--man/i3status.man3
1 files changed, 3 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man
index cb1c248..10b9d7f 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -439,6 +439,7 @@ The system's timezone database is usually installed in +/usr/share/zoneinfo+.
Files below that path make for valid timezone strings, e.g. for
+/usr/share/zoneinfo/Europe/Berlin+ you can set timezone to +Europe/Berlin+
in the +tztime+ module.
+To override the locale settings of your environment, set the +locale+ option.
*Example order*: +tztime berlin+
@@ -446,6 +447,8 @@ in the +tztime+ module.
*Example timezone*: +Europe/Berlin+
+*Example locale*: +de_DE.UTF-8+
+
If you would like to use markup in this section, there is a separate
+format_time+ option that is automatically escaped. Its output then replaces
%time in the format string.