diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-05-23 17:43:30 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-05-23 17:43:30 -0700 |
commit | fb0712206484250681174b21cb6335284820ed13 (patch) | |
tree | d72201adde101389a44beb7cf9924c1008554b05 /zic.8 | |
parent | 38a8f460b9598adfbf188ed49dce55cf9fb62880 (diff) | |
download | tz-fb0712206484250681174b21cb6335284820ed13.tar.gz |
Document zic abbreviation rules
* NEWS, zic.8: Describe how zic supports abbreviations like "Sun".
Diffstat (limited to 'zic.8')
-rw-r--r-- | zic.8 | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -148,7 +148,8 @@ Non-blank lines are expected to be of one of three types: rule lines, zone lines, and link lines. .PP Names (such as month names) must be in English and are case insensitive. -Abbreviations, if used, must be unambiguous in context. +A name can be abbreviated by omitting all but an initial prefix; any +abbreviation must be unambiguous in context. .PP A rule line has the form .nf @@ -221,7 +222,13 @@ Sun<=25 last Sunday on or before the 25th .fi .in -.5i .sp -Names of days of the week may be abbreviated or spelled out in full. +A weekday name (e.g., +.BR "Sunday" ) +or a weekday name preceded by +.q "last" +(e.g., +.BR "lastSunday" ) +may be abbreviated or spelled out in full. Note that there must be no spaces within the .B ON field. |