zoneinfo: move zoneinfo data to /usr/share/zoneinfo
[unleashed.git] / share / man / man4 / timezone.4
blob6ef708619a63c66910d0ad17702d779378c8c026
1 '\" te
2 .\"  Copyright (c) 2003, Sun Microsystems, Inc.  All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH TIMEZONE 4 "May 13, 2017"
7 .SH NAME
8 timezone \- default timezone data base
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/etc/timezone\fR
13 .fi
15 .SH DESCRIPTION
16 .LP
17 The timezone file contains information regarding the default timezone for each
18 host in a domain. Alternatively, a single default line for the entire domain
19 may be specified. Each entry has the format:
20 .sp
21 .in +2
22 .nf
23 \fITimezone-name    official-host-or-domain-name\fR
24 .fi
25 .in -2
27 .sp
28 .LP
29 Items are separated by any number of blanks and/or TAB characters. A `#'
30 indicates the beginning of a comment; characters up to the end of the line are
31 not interpreted by routines which search the file. The timezone is a pathname
32 relative to the directory \fB/usr/share/zoneinfo\fR.
33 .sp
34 .LP
35 This file is not actually referenced by any system software; it is merely used
36 as a source file to construct the \fBNIS\fR \fBtimezone.byname\fR map, which
37 was used by the installer in older releases of Solaris.
38 .sp
39 .LP
40 The \fBtimezone\fR file does not set the timezone environment variable
41 \fBTZ\fR. See \fBTIMEZONE\fR(4) for information to set the \fBTZ\fR environment
42 variable.
43 .SH EXAMPLES
44 .LP
45 \fBExample 1 \fRTypical timezone line
46 .sp
47 .LP
48 Here is a typical line from the \fB/etc/timezone\fR file:
50 .sp
51 .in +2
52 .nf
53 US/Eastern          East.Sun.COM #Sun East Coast
54 .fi
55 .in -2
56 .sp
58 .SH FILES
59 .ne 2
60 .na
61 \fB\fB/etc/timezone\fR\fR
62 .ad
63 .RS 17n
65 .RE
67 .SH SEE ALSO
68 .LP
69 \fBTIMEZONE\fR(4)