+.\" %%%LICENSE_START(PUBLIC_DOMAIN)
.\" This page is in the public domain
+.\" %%%LICENSE_END
.\"
-.TH ZIC 8 2007-05-18 "" "Linux System Administration"
+.TH ZIC 8 2010-02-25 "" "Linux System Administration"
.SH NAME
zic \- timezone compiler
.SH SYNOPSIS
If
.B TYPE
is
-.B \-
+.BR \- ,
then the rule applies in all years between
.B FROM
and
.I zic
executes the command
.ti +.5i
-\fByearistype\fP \fIyear\fP \fItype\fP
+.B yearistype
+.I year
+.I type
.br
to check the type of a year:
an exit status of zero is taken to mean that the year is of the given type;
.sp
.nf
.ti +.5i
-.ta \w'Zone\0\0'u +\w'Australia/Adelaide\0\0'u +\w'GMTOFF\0\0'u +\w'RULES/SAVE\0\0'u +\w'FORMAT\0\0'u
-Zone NAME GMTOFF RULES/SAVE FORMAT [UNTIL]
+.ta \w'Zone\0\0'u +\w'Australia/Adelaide\0\0'u +\w'UTCOFF\0\0'u +\w'RULES/SAVE\0\0'u +\w'FORMAT\0\0'u
+Zone NAME UTCOFF RULES/SAVE FORMAT [UNTIL]
.sp
For example:
.sp
.sp
.fi
The fields that make up a zone line are:
-.TP "\w'GMTOFF'u"
+.TP "\w'UTCOFF'u"
.B NAME
The name of the timezone.
This is the name used in creating the time conversion information file for the
zone.
.TP
-.B GMTOFF
+.B UTCOFF
The amount of time to add to UTC to get standard time in this zone.
This field has the same format as the
.B AT
The name of the rule(s) that apply in the timezone or,
alternately, an amount of time to add to local standard time.
If this field is
-.B \-
+.BR \- ,
then standard time always applies in the timezone.
.TP
.B FORMAT
if the leap second time given by the other fields should be interpreted as
local wall clock time.
.SH FILES
-/usr/local/etc/zoneinfo standard directory used for created files
+.TP
+.I /usr/local/etc/zoneinfo
+Standard directory used for created files.
.SH NOTES
For areas with more than two types of local time,
you may need to use local standard time in the
.B AT
field of the earliest transition time's rule to ensure that
the earliest transition time recorded in the compiled file is correct.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR tzfile (5),
.BR zdump (8)
.\" @(#)zic.8 7.19