summaryrefslogtreecommitdiffstats
path: root/man/localtime.xml
diff options
context:
space:
mode:
authorLuca BRUNO <luca.bruno@coreos.com>2020-12-21 10:55:04 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2020-12-21 13:39:18 +0100
commit3d909037e3bb86bb14ceef98325b2759b938a4b3 (patch)
tree2d3279023d47785a096278267636f17ee095ee3c /man/localtime.xml
parentman/systemd.netdev: clarify the wireguard AllowedIPs= setting (diff)
downloadsystemd-3d909037e3bb86bb14ceef98325b2759b938a4b3.tar.xz
systemd-3d909037e3bb86bb14ceef98325b2759b938a4b3.zip
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
Diffstat (limited to '')
-rw-r--r--man/localtime.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/man/localtime.xml b/man/localtime.xml
index 73c1b8e5a3..e486474c44 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>