diff options
author | Luca BRUNO <luca.bruno@coreos.com> | 2020-12-21 09:55:04 +0000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-02 17:31:47 +0100 |
commit | 00071dd6b9ad3e3ece1d8420f6dbca0f6d1108b8 (patch) | |
tree | 6afdb4c9db113c1faf084cf52961ace5a3ba5d48 | |
parent | 0a3dd3db1fbd745dc07987d66713f7884c3fd26a (diff) | |
download | systemd-00071dd6b9ad3e3ece1d8420f6dbca0f6d1108b8.tar.gz |
man/localtime: document default timezone
This explicitly documents the default `UTC` timezone which is used
by systemd and (other softwares) when `/etc/localtime` is not present.
Ref: https://github.com/systemd/systemd/blob/v247/src/basic/time-util.c#L1460-L1469
(cherry picked from commit 3d909037e3bb86bb14ceef98325b2759b938a4b3)
(cherry picked from commit a580023f1da331bd454ea72cad146215b255e0d0)
-rw-r--r-- | man/localtime.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/man/localtime.xml b/man/localtime.xml index 0f1652ee2e..af6ca1a185 100644 --- a/man/localtime.xml +++ b/man/localtime.xml @@ -41,6 +41,9 @@ symlink target name of <filename>/etc/localtime</filename>, this file may not be a normal file or hardlink.</para> + <para>If <filename>/etc/localtime</filename> is missing, the + default <literal>UTC</literal> timezone is used.</para> + <para>The timezone may be overridden for individual programs by using the <varname>$TZ</varname> environment variable. See <citerefentry project='man-pages'><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para> |