1999-08-28 01:35:59 +00:00
|
|
|
.\" $FreeBSD$
|
2000-12-11 15:57:16 +00:00
|
|
|
.Dd October 29, 1997
|
1997-10-29 07:27:56 +00:00
|
|
|
.Dt ZIC 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm zic
|
|
|
|
.Nd timezone compiler
|
|
|
|
.Sh SYNOPSIS
|
2000-11-20 20:10:44 +00:00
|
|
|
.Nm
|
1999-01-21 17:46:19 +00:00
|
|
|
.Op Fl Dsv
|
1997-10-29 07:27:56 +00:00
|
|
|
.Op Fl d Ar directory
|
1999-01-21 17:46:19 +00:00
|
|
|
.Op Fl g Ar group
|
|
|
|
.Op Fl L Ar leapsecondfilename
|
1997-10-29 07:27:56 +00:00
|
|
|
.Op Fl l Ar localtime
|
1999-01-21 17:46:19 +00:00
|
|
|
.Op Fl m Ar mode
|
1997-10-29 07:27:56 +00:00
|
|
|
.Op Fl p Ar posixrules
|
1999-01-21 17:46:19 +00:00
|
|
|
.Op Fl u Ar user
|
1997-10-29 07:27:56 +00:00
|
|
|
.Op Fl y Ar command
|
|
|
|
.Op Ar filename ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm Zic
|
1994-09-13 03:29:24 +00:00
|
|
|
reads text from the file(s) named on the command line
|
|
|
|
and creates the time conversion information files specified in this input.
|
|
|
|
If a
|
1997-10-29 07:27:56 +00:00
|
|
|
.Ar filename
|
1994-09-13 03:29:24 +00:00
|
|
|
is
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em - ,
|
1994-09-13 03:29:24 +00:00
|
|
|
the standard input is read.
|
1997-10-29 07:27:56 +00:00
|
|
|
.Pp
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width indent
|
1999-01-21 17:46:19 +00:00
|
|
|
.It Fl D
|
|
|
|
Do not automatically create directories. If the input file(s) specify
|
|
|
|
an output file in a directory which does not already exist, the
|
|
|
|
default behavior is to attempt to create the directory. If
|
|
|
|
.Fl D
|
|
|
|
is specified,
|
2000-01-23 20:36:27 +00:00
|
|
|
.Nm
|
1999-01-21 17:46:19 +00:00
|
|
|
will instead error out immediately.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It Fl d Ar directory
|
1994-09-13 03:29:24 +00:00
|
|
|
Create time conversion information files in the named directory rather than
|
|
|
|
in the standard directory named below.
|
1999-01-21 17:46:19 +00:00
|
|
|
.It Fl g Ar group
|
|
|
|
After creating each output file, change its group ownership to the
|
|
|
|
specified
|
|
|
|
.Ar group
|
|
|
|
(which can be either a name or a numeric group ID).
|
|
|
|
.It Fl L Ar leapsecondfilename
|
|
|
|
Read leap second information from the file with the given name.
|
|
|
|
If this option is not used,
|
|
|
|
no leap second information appears in output files.
|
|
|
|
.It Fl l Ar timezone
|
1997-10-29 07:27:56 +00:00
|
|
|
Use the given
|
|
|
|
.Ar time zone
|
|
|
|
as local time.
|
|
|
|
.Nm Zic
|
1994-09-13 03:29:24 +00:00
|
|
|
will act as if the input contained a link line of the form
|
1999-01-21 17:46:19 +00:00
|
|
|
.Bd -literal -offset indent
|
2000-12-27 15:30:30 +00:00
|
|
|
.No "Link timezone localtime
|
1999-01-21 17:46:19 +00:00
|
|
|
.Ed
|
|
|
|
(Note that this action has no effect on
|
|
|
|
.Fx ,
|
|
|
|
since the local time zone is specified in
|
|
|
|
.Pa /etc/localtime
|
|
|
|
and not
|
|
|
|
.Pa /usr/share/zoneinfo/localtime . )
|
|
|
|
.It Fl m Ar mode
|
|
|
|
After creating each output file, change its access mode to
|
|
|
|
.Ar mode .
|
|
|
|
Both numeric and alphabetic modes are accepted
|
|
|
|
(see
|
|
|
|
.Xr chmod 1 ) .
|
1997-10-29 07:27:56 +00:00
|
|
|
.It Fl p Ar timezone
|
|
|
|
Use the given
|
|
|
|
.Ar "time zone" Ns 's
|
|
|
|
rules when handling POSIX-format
|
1994-09-13 03:29:24 +00:00
|
|
|
time zone environment variables.
|
1997-10-29 07:27:56 +00:00
|
|
|
.Nm Zic
|
1994-09-13 03:29:24 +00:00
|
|
|
will act as if the input contained a link line of the form
|
1999-01-21 17:46:19 +00:00
|
|
|
.Bd -literal -offset indent
|
2000-12-27 15:30:30 +00:00
|
|
|
.No "Link timezone posixrules
|
1999-01-21 17:46:19 +00:00
|
|
|
.Ed
|
|
|
|
.It Fl u Ar user
|
|
|
|
After creating each output file, change its owner to
|
|
|
|
.Ar user
|
|
|
|
(which can be either a name or a numeric user ID).
|
1997-10-29 07:27:56 +00:00
|
|
|
.It Fl v
|
1994-09-13 03:29:24 +00:00
|
|
|
Complain if a year that appears in a data file is outside the range
|
|
|
|
of years representable by
|
1999-08-18 05:55:22 +00:00
|
|
|
.Xr time 3
|
1994-09-13 03:29:24 +00:00
|
|
|
values.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It Fl s
|
1994-09-13 03:29:24 +00:00
|
|
|
Limit time values stored in output files to values that are the same
|
|
|
|
whether they're taken to be signed or unsigned.
|
|
|
|
You can use this option to generate SVVS-compatible files.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It Fl y Ar command
|
1994-09-13 03:29:24 +00:00
|
|
|
Use the given
|
1997-10-29 07:27:56 +00:00
|
|
|
.Ar command
|
1994-09-13 03:29:24 +00:00
|
|
|
rather than
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em yearistype
|
1994-09-13 03:29:24 +00:00
|
|
|
when checking year types (see below).
|
1997-10-29 07:27:56 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
1994-09-13 03:29:24 +00:00
|
|
|
Input lines are made up of fields.
|
|
|
|
Fields are separated from one another by any number of white space characters.
|
|
|
|
Leading and trailing white space on input lines is ignored.
|
|
|
|
An unquoted sharp character (#) in the input introduces a comment which extends
|
|
|
|
to the end of the line the sharp character appears on.
|
|
|
|
White space characters and sharp characters may be enclosed in double quotes
|
|
|
|
(") if they're to be used as part of a field.
|
|
|
|
Any line that is blank (after comment stripping) is ignored.
|
|
|
|
Non-blank lines are expected to be of one of three types:
|
|
|
|
rule lines, zone lines, and link lines.
|
1997-10-29 07:27:56 +00:00
|
|
|
.Pp
|
1999-01-21 17:46:19 +00:00
|
|
|
A rule line has the form:
|
2000-12-27 15:30:30 +00:00
|
|
|
.Dl "Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
|
1994-09-13 03:29:24 +00:00
|
|
|
For example:
|
2000-12-27 15:30:30 +00:00
|
|
|
.Dl "Rule US 1967 1973 \- Apr lastSun 2:00 1:00 D
|
1999-01-21 17:46:19 +00:00
|
|
|
.Pp
|
1994-09-13 03:29:24 +00:00
|
|
|
The fields that make up a rule line are:
|
1999-01-21 17:46:19 +00:00
|
|
|
.Bl -tag -width "LETTER/S" -offset indent
|
1997-10-29 07:27:56 +00:00
|
|
|
.It NAME
|
|
|
|
Give the (arbitrary) name of the set of rules this rule is part of.
|
|
|
|
.It FROM
|
|
|
|
Give the first year in which the rule applies.
|
1994-09-13 03:29:24 +00:00
|
|
|
Any integer year can be supplied; the Gregorian calendar is assumed.
|
|
|
|
The word
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em minimum
|
1994-09-13 03:29:24 +00:00
|
|
|
(or an abbreviation) means the minimum year representable as an integer.
|
|
|
|
The word
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em maximum
|
1994-09-13 03:29:24 +00:00
|
|
|
(or an abbreviation) means the maximum year representable as an integer.
|
|
|
|
Rules can describe times that are not representable as time values,
|
|
|
|
with the unrepresentable times ignored; this allows rules to be portable
|
|
|
|
among hosts with differing time value types.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It TO
|
|
|
|
Give the final year in which the rule applies.
|
1994-09-13 03:29:24 +00:00
|
|
|
In addition to
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em minimum
|
1994-09-13 03:29:24 +00:00
|
|
|
and
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em maximum
|
1994-09-13 03:29:24 +00:00
|
|
|
(as above),
|
|
|
|
the word
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em only
|
1994-09-13 03:29:24 +00:00
|
|
|
(or an abbreviation)
|
|
|
|
may be used to repeat the value of the
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em FROM
|
1994-09-13 03:29:24 +00:00
|
|
|
field.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It TYPE
|
|
|
|
Give the type of year in which the rule applies.
|
1994-09-13 03:29:24 +00:00
|
|
|
If
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em TYPE
|
1994-09-13 03:29:24 +00:00
|
|
|
is
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em \-
|
1994-09-13 03:29:24 +00:00
|
|
|
then the rule applies in all years between
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em FROM
|
1994-09-13 03:29:24 +00:00
|
|
|
and
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em TO
|
1996-07-18 19:59:09 +00:00
|
|
|
inclusive.
|
1994-09-13 03:29:24 +00:00
|
|
|
If
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em TYPE
|
1994-09-13 03:29:24 +00:00
|
|
|
is something else, then
|
1997-10-29 07:27:56 +00:00
|
|
|
.Nm
|
1994-09-13 03:29:24 +00:00
|
|
|
executes the command
|
1999-01-21 17:46:19 +00:00
|
|
|
.Li yearistype Ar year Ar type
|
1994-09-13 03:29:24 +00:00
|
|
|
to check the type of a year:
|
|
|
|
an exit status of zero is taken to mean that the year is of the given type;
|
|
|
|
an exit status of one is taken to mean that the year is not of the given type.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It IN
|
|
|
|
Name the month in which the rule takes effect.
|
1994-09-13 03:29:24 +00:00
|
|
|
Month names may be abbreviated.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It ON
|
|
|
|
Give the day on which the rule takes effect.
|
1994-09-13 03:29:24 +00:00
|
|
|
Recognized forms include:
|
1999-01-21 17:46:19 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -tag -width lastSun -compact -offset indent
|
|
|
|
.It \&5
|
|
|
|
the fifth of the month
|
|
|
|
.It lastSun
|
|
|
|
the last Sunday in the month
|
|
|
|
.It lastMon
|
|
|
|
the last Monday in the month
|
|
|
|
.It Sun>=8
|
|
|
|
first Sunday on or after the eighth
|
|
|
|
.It Sun<=25
|
|
|
|
last Sunday on or before the 25th
|
|
|
|
.El
|
|
|
|
.Pp
|
1994-09-13 03:29:24 +00:00
|
|
|
Names of days of the week may be abbreviated or spelled out in full.
|
|
|
|
Note that there must be no spaces within the
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em ON
|
1994-09-13 03:29:24 +00:00
|
|
|
field.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It AT
|
|
|
|
Give the time of day at which the rule takes effect.
|
1994-09-13 03:29:24 +00:00
|
|
|
Recognized forms include:
|
1999-01-21 17:46:19 +00:00
|
|
|
.Pp
|
2000-12-27 15:30:30 +00:00
|
|
|
.Bl -tag -width "\&1:28:14" -offset indent -compact
|
1999-01-21 17:46:19 +00:00
|
|
|
.It 2
|
|
|
|
time in hours
|
|
|
|
.It 2:00
|
|
|
|
time in hours and minutes
|
|
|
|
.It 15:00
|
|
|
|
24-hour format time (for times after noon)
|
|
|
|
.It 1:28:14
|
|
|
|
time in hours, minutes, and seconds
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
where hour 0 is midnight at the start of the day,
|
|
|
|
and hour 24 is midnight at the end of the day.
|
1994-09-13 03:29:24 +00:00
|
|
|
Any of these forms may be followed by the letter
|
1999-01-21 17:46:19 +00:00
|
|
|
.Sq Li w
|
1994-09-13 03:29:24 +00:00
|
|
|
if the given time is local
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq "wall clock"
|
1996-07-18 19:59:09 +00:00
|
|
|
time,
|
1999-01-21 17:46:19 +00:00
|
|
|
.Sq Li s
|
1994-09-13 03:29:24 +00:00
|
|
|
if the given time is local
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq standard
|
1996-07-18 19:59:09 +00:00
|
|
|
time, or
|
1999-01-21 17:46:19 +00:00
|
|
|
.Sq Li u
|
1996-07-18 19:59:09 +00:00
|
|
|
(or
|
1999-01-21 17:46:19 +00:00
|
|
|
.Sq Li g
|
1994-09-13 03:29:24 +00:00
|
|
|
or
|
1999-01-21 17:46:19 +00:00
|
|
|
.Sq Li z )
|
1996-07-18 19:59:09 +00:00
|
|
|
if the given time is universal time;
|
|
|
|
in the absence of an indicator,
|
1994-09-13 03:29:24 +00:00
|
|
|
wall clock time is assumed.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It SAVE
|
|
|
|
Give the amount of time to be added to local standard time when the rule is in
|
1994-09-13 03:29:24 +00:00
|
|
|
effect.
|
|
|
|
This field has the same format as the
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em AT
|
1994-09-13 03:29:24 +00:00
|
|
|
field
|
|
|
|
(although, of course, the
|
1999-01-21 17:46:19 +00:00
|
|
|
.Sq Li w
|
1994-09-13 03:29:24 +00:00
|
|
|
and
|
1999-01-21 17:46:19 +00:00
|
|
|
.Sq Li s
|
1994-09-13 03:29:24 +00:00
|
|
|
suffixes are not used).
|
1997-10-29 07:27:56 +00:00
|
|
|
.It LETTER/S
|
|
|
|
Give the
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq "variable part"
|
1994-09-13 03:29:24 +00:00
|
|
|
(for example, the
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq S
|
1994-09-13 03:29:24 +00:00
|
|
|
or
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq D
|
1994-09-13 03:29:24 +00:00
|
|
|
in
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq EST
|
1994-09-13 03:29:24 +00:00
|
|
|
or
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq EDT )
|
1994-09-13 03:29:24 +00:00
|
|
|
of time zone abbreviations to be used when this rule is in effect.
|
|
|
|
If this field is
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em \- ,
|
1994-09-13 03:29:24 +00:00
|
|
|
the variable part is null.
|
1997-10-29 07:27:56 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
1999-01-21 17:46:19 +00:00
|
|
|
A zone line has the form:
|
2000-12-27 15:30:30 +00:00
|
|
|
.Dl "Zone NAME GMTOFF RULES/SAVE FORMAT [UNTIL]
|
1994-09-13 03:29:24 +00:00
|
|
|
For example:
|
2000-12-27 15:30:30 +00:00
|
|
|
.Dl "Zone Australia/Adelaide 9:30 Aus CST 1971 Oct 31 2:00
|
1994-09-13 03:29:24 +00:00
|
|
|
The fields that make up a zone line are:
|
1997-10-29 07:27:56 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It NAME
|
1994-09-13 03:29:24 +00:00
|
|
|
The name of the time zone.
|
|
|
|
This is the name used in creating the time conversion information file for the
|
|
|
|
zone.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It GMTOFF
|
1999-01-21 17:46:19 +00:00
|
|
|
The amount of time to add to UTC to get standard time in this zone.
|
1994-09-13 03:29:24 +00:00
|
|
|
This field has the same format as the
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em AT
|
1994-09-13 03:29:24 +00:00
|
|
|
and
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em SAVE
|
1994-09-13 03:29:24 +00:00
|
|
|
fields of rule lines;
|
1999-01-21 17:46:19 +00:00
|
|
|
begin the field with a minus sign if time must be subtracted from UTC.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It RULES/SAVE
|
1994-09-13 03:29:24 +00:00
|
|
|
The name of the rule(s) that apply in the time zone or,
|
|
|
|
alternately, an amount of time to add to local standard time.
|
|
|
|
If this field is
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em \-
|
1994-09-13 03:29:24 +00:00
|
|
|
then standard time always applies in the time zone.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It FORMAT
|
1994-09-13 03:29:24 +00:00
|
|
|
The format for time zone abbreviations in this time zone.
|
|
|
|
The pair of characters
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em %s
|
1994-09-13 03:29:24 +00:00
|
|
|
is used to show where the
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq "variable part"
|
1994-09-13 03:29:24 +00:00
|
|
|
of the time zone abbreviation goes.
|
1996-07-18 19:59:09 +00:00
|
|
|
Alternately,
|
|
|
|
a slash (/)
|
|
|
|
separates standard and daylight abbreviations.
|
1997-10-29 07:27:56 +00:00
|
|
|
.It UNTIL
|
1999-01-21 17:46:19 +00:00
|
|
|
The time at which the UTC offset or the rule(s) change for a location.
|
1994-09-13 03:29:24 +00:00
|
|
|
It is specified as a year, a month, a day, and a time of day.
|
|
|
|
If this is specified,
|
1999-01-21 17:46:19 +00:00
|
|
|
the time zone information is generated from the given UTC offset
|
1994-09-13 03:29:24 +00:00
|
|
|
and rule change until the time specified.
|
1999-01-21 17:46:19 +00:00
|
|
|
The month, day, and time of day have the same format as the IN, ON, and AT
|
|
|
|
columns of a rule; trailing columns can be omitted, and default to the
|
|
|
|
earliest possible value for the missing columns.
|
1997-10-29 07:27:56 +00:00
|
|
|
.Pp
|
1994-09-13 03:29:24 +00:00
|
|
|
The next line must be a
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq continuation
|
1994-09-13 03:29:24 +00:00
|
|
|
line; this has the same form as a zone line except that the
|
|
|
|
string
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq Zone
|
1994-09-13 03:29:24 +00:00
|
|
|
and the name are omitted, as the continuation line will
|
|
|
|
place information starting at the time specified as the
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em UNTIL
|
1994-09-13 03:29:24 +00:00
|
|
|
field in the previous line in the file used by the previous line.
|
|
|
|
Continuation lines may contain an
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em UNTIL
|
1994-09-13 03:29:24 +00:00
|
|
|
field, just as zone lines do, indicating that the next line is a further
|
|
|
|
continuation.
|
1997-10-29 07:27:56 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
1994-09-13 03:29:24 +00:00
|
|
|
A link line has the form
|
2000-12-27 15:30:30 +00:00
|
|
|
.Dl "Link LINK-FROM LINK-TO
|
1994-09-13 03:29:24 +00:00
|
|
|
For example:
|
2000-12-27 15:30:30 +00:00
|
|
|
.Dl "Link Europe/Istanbul Asia/Istanbul
|
1994-09-13 03:29:24 +00:00
|
|
|
The
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em LINK-FROM
|
1994-09-13 03:29:24 +00:00
|
|
|
field should appear as the
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em NAME
|
1994-09-13 03:29:24 +00:00
|
|
|
field in some zone line;
|
|
|
|
the
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em LINK-TO
|
1994-09-13 03:29:24 +00:00
|
|
|
field is used as an alternate name for that zone.
|
1997-10-29 07:27:56 +00:00
|
|
|
.Pp
|
1994-09-13 03:29:24 +00:00
|
|
|
Except for continuation lines,
|
|
|
|
lines may appear in any order in the input.
|
1997-10-29 07:27:56 +00:00
|
|
|
.Pp
|
1994-09-13 03:29:24 +00:00
|
|
|
Lines in the file that describes leap seconds have the following form:
|
2000-12-27 15:30:30 +00:00
|
|
|
.Dl "Leap YEAR MONTH DAY HH:MM:SS CORR R/S
|
1994-09-13 03:29:24 +00:00
|
|
|
For example:
|
2000-12-27 15:30:30 +00:00
|
|
|
.Dl "Leap 1974 Dec 31 23:59:60 + S
|
1994-09-13 03:29:24 +00:00
|
|
|
The
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em YEAR ,
|
|
|
|
.Em MONTH ,
|
|
|
|
.Em DAY ,
|
1994-09-13 03:29:24 +00:00
|
|
|
and
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em HH:MM:SS
|
1994-09-13 03:29:24 +00:00
|
|
|
fields tell when the leap second happened.
|
|
|
|
The
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em CORR
|
1994-09-13 03:29:24 +00:00
|
|
|
field
|
|
|
|
should be
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq +
|
1994-09-13 03:29:24 +00:00
|
|
|
if a second was added
|
|
|
|
or
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq -
|
1994-09-13 03:29:24 +00:00
|
|
|
if a second was skipped.
|
|
|
|
.\" There's no need to document the following, since it's impossible for more
|
|
|
|
.\" than one leap second to be inserted or deleted at a time.
|
|
|
|
.\" The C Standard is in error in suggesting the possibility.
|
|
|
|
.\" See Terry J Quinn, The BIPM and the accurate measure of time,
|
|
|
|
.\" Proc IEEE 79, 7 (July 1991), 894-905.
|
|
|
|
.\" or
|
|
|
|
.\" .q ++
|
|
|
|
.\" if two seconds were added
|
|
|
|
.\" or
|
|
|
|
.\" .q --
|
|
|
|
.\" if two seconds were skipped.
|
|
|
|
The
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em R/S
|
1994-09-13 03:29:24 +00:00
|
|
|
field
|
|
|
|
should be (an abbreviation of)
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq Stationary
|
1999-01-21 17:46:19 +00:00
|
|
|
if the leap second time given by the other fields should be interpreted as UTC
|
1994-09-13 03:29:24 +00:00
|
|
|
or
|
|
|
|
(an abbreviation of)
|
1998-06-06 15:37:23 +00:00
|
|
|
.Dq Rolling
|
1994-09-13 03:29:24 +00:00
|
|
|
if the leap second time given by the other fields should be interpreted as
|
|
|
|
local wall clock time.
|
1997-10-29 07:27:56 +00:00
|
|
|
.Sh NOTE
|
1994-09-13 03:29:24 +00:00
|
|
|
For areas with more than two types of local time,
|
|
|
|
you may need to use local standard time in the
|
1997-10-29 07:27:56 +00:00
|
|
|
.Em AT
|
1994-09-13 03:29:24 +00:00
|
|
|
field of the earliest transition time's rule to ensure that
|
|
|
|
the earliest transition time recorded in the compiled file is correct.
|
2000-01-23 20:36:27 +00:00
|
|
|
.Sh FILES
|
1997-10-29 07:27:56 +00:00
|
|
|
.Bl -tag -width /usr/share/zoneinfo -compact
|
1999-01-21 17:46:19 +00:00
|
|
|
.It /usr/share/zoneinfo
|
|
|
|
standard directory used for created files
|
1997-10-29 07:27:56 +00:00
|
|
|
.El
|
|
|
|
.Sh "SEE ALSO"
|
|
|
|
.Xr ctime 3 ,
|
|
|
|
.Xr tzfile 5 ,
|
|
|
|
.Xr zdump 8
|
1999-01-21 17:46:19 +00:00
|
|
|
.\" @(#)zic.8 7.18
|