diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-11-12 17:52:35 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-13 12:30:22 +0100 |
commit | 437f48a471f51ac9dd2697ee3b848a71b4f101df (patch) | |
tree | f05a4944d2069c33b52618eea544f9b799414730 /man | |
parent | d5fc5b2f8d62ba2a79eb755272e67ff3f117c5c5 (diff) | |
download | systemd-437f48a471f51ac9dd2697ee3b848a71b4f101df.tar.gz systemd-437f48a471f51ac9dd2697ee3b848a71b4f101df.tar.bz2 systemd-437f48a471f51ac9dd2697ee3b848a71b4f101df.zip |
tree-wide: fix how we set $TZ
According to tzset(3) we need to prefix timezone names with ":". Let's
do so hence, to avoid any ambiguities and follow documented behaviour.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.time.xml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/man/systemd.time.xml b/man/systemd.time.xml index c7d5f24b3c..dc1e78a187 100644 --- a/man/systemd.time.xml +++ b/man/systemd.time.xml @@ -136,9 +136,8 @@ evaluated relative to the UNIX time epoch 1st Jan, 1970, 00:00.</para> - <para>Examples for valid timestamps and their normalized form - (assuming the current time was 2012-11-23 18:15:22 and the timezone - was UTC+8, for example TZ=Asia/Shanghai):</para> + <para>Examples for valid timestamps and their normalized form (assuming the current time was 2012-11-23 + 18:15:22 and the timezone was UTC+8, for example <literal>TZ=:Asia/Shanghai</literal>):</para> <programlisting> Fri 2012-11-23 11:12:13 → Fri 2012-11-23 11:12:13 2012-11-23 11:12:13 → Fri 2012-11-23 11:12:13 |