summaryrefslogtreecommitdiff
path: root/man/localtime.xml
diff options
context:
space:
mode:
authorLuca BRUNO <luca.bruno@coreos.com>2020-12-21 09:55:04 +0000
committerLuca Boccassi <luca.boccassi@gmail.com>2020-12-21 12:39:18 +0000
commit3d909037e3bb86bb14ceef98325b2759b938a4b3 (patch)
tree2d3279023d47785a096278267636f17ee095ee3c /man/localtime.xml
parentc6b90e5c5e54e98b6aed38677f77d8491f2e49c8 (diff)
downloadsystemd-3d909037e3bb86bb14ceef98325b2759b938a4b3.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
Diffstat (limited to 'man/localtime.xml')
-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>