summaryrefslogtreecommitdiff
path: root/man/localtime.5
diff options
context:
space:
mode:
Diffstat (limited to 'man/localtime.5')
-rw-r--r--man/localtime.556
1 files changed, 56 insertions, 0 deletions
diff --git a/man/localtime.5 b/man/localtime.5
new file mode 100644
index 0000000000..dcbf1657a5
--- /dev/null
+++ b/man/localtime.5
@@ -0,0 +1,56 @@
+'\" t
+.TH "LOCALTIME" "5" "" "systemd 208" "localtime"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+localtime \- Local timezone configuration file
+.SH "SYNOPSIS"
+.PP
+/etc/localtime
+\->
+\&.\&./usr/share/zoneinfo/\&...
+.SH "DESCRIPTION"
+.PP
+The
+/etc/localtime
+file configures the system\-wide timezone of the local system that is used by applications for presentation to the user\&. It should be an absolute or relative symbolic link pointing to
+/usr/share/zoneinfo/, followed by a timezone identifier such as
+"Europe/Berlin"
+or
+"Etc/UTC"\&. The resulting link should lead to the corresponding binary
+\fBtzfile\fR(5)
+timezone data for the configured timezone\&.
+.PP
+Because the timezone identifier is extracted from the symlink target name of
+/etc/localtime, this file may not be a normal file or hardlink\&.
+.PP
+The timezone may be overridden for individual programs by using the TZ environment variable\&. See
+\fBenviron\fR(7)\&.
+.PP
+You may use
+\fBtimedatectl\fR(1)
+to change the settings of this file from the command line\&.
+.SH "SEE ALSO"
+.PP
+\fBsystemd\fR(1),
+\fBtzset\fR(3),
+\fBlocaltime\fR(3),
+\fBtimedatectl\fR(1),
+\fBsystemd-timedated.service\fR(8)