diff options
Diffstat (limited to 'tz/zic.8')
-rw-r--r-- | tz/zic.8 | 30 |
1 files changed, 20 insertions, 10 deletions
@@ -165,14 +165,14 @@ abbreviation must be unambiguous in context. A rule line has the form .nf .ti +.5i -.ta \w'Rule\0\0'u +\w'NAME\0\0'u +\w'FROM\0\0'u +\w'1973\0\0'u +\w'TYPE\0\0'u +\w'Apr\0\0'u +\w'lastSun\0\0'u +\w'2:00\0\0'u +\w'SAVE\0\0'u +.ta \w'Rule\0\0'u +\w'NAME\0\0'u +\w'FROM\0\0'u +\w'1973\0\0'u +\w'TYPE\0\0'u +\w'Apr\0\0'u +\w'lastSun\0\0'u +\w'2:00s\0\0'u +\w'1:00d\0\0'u .sp Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S .sp For example: .ti +.5i .sp -Rule US 1967 1973 \*- Apr lastSun 2:00 1:00 D +Rule US 1967 1973 \*- Apr lastSun 2:00s 1:00d D .sp .fi The fields that make up a rule line are: @@ -295,16 +295,24 @@ field would show the specified date and time of day. .TP .B SAVE Gives the amount of time to be added to local standard time when the rule is in -effect. +effect, and whether the resulting time is standard or daylight saving. This field has the same format as the .B AT field -(although, of course, the -suffixes are not used). +except with a different set of suffix letters: +.B s +for standard time and +.B d +for daylight saving time. +The suffix letter is typically omitted, and defaults to +.B s +if the offset is zero and to +.B d +otherwise. Negative offsets are allowed; in Ireland, for example, daylight saving time is observed in winter and has a negative offset relative to Irish Standard Time. -Only the sum of standard time and this amount matters; for example, +The offset is merely added to standard time; for example, .I zic does not distinguish a 10:30 standard time plus an 0:30 .B SAVE @@ -364,7 +372,9 @@ begin the field with a minus sign if time must be subtracted from UT. .TP .B RULES The name of the rules that apply in the time zone or, -alternately, an amount of time to add to local standard time. +alternatively, a field in the same format as a rule-line SAVE column, +giving of the amount of time to be added to local standard time +effect, and whether the resulting time is standard or daylight saving. If this field is .B \*- then standard time always applies in the time zone. @@ -378,7 +388,7 @@ The pair of characters is used to show where the .q "variable part" of the time zone abbreviation goes. -Alternately, a format can use the pair of characters +Alternatively, a format can use the pair of characters .B %z to stand for the UT offset in the form .RI \(+- hh , @@ -391,7 +401,7 @@ using the shortest form that does not lose information, where and .I ss are the hours, minutes, and seconds east (+) or west (\(mi) of UT. -Alternately, +Alternatively, a slash (/) separates standard and daylight abbreviations. To conform to POSIX, a time zone abbreviation should contain only @@ -447,7 +457,7 @@ field should appear as the field in some zone line. The .B LINK-NAME -field is used as an alternate name for that zone; +field is used as an alternative name for that zone; it has the same syntax as a zone line's .B NAME field. |