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
This commit is contained in:
Luca BRUNO 2020-12-21 09:55:04 +00:00 committed by Luca Boccassi
parent c6b90e5c5e
commit 3d909037e3
1 changed files with 3 additions and 0 deletions

View File

@ -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>