summaryrefslogtreecommitdiff
path: root/zic.8
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-05-23 17:43:30 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-05-23 17:43:30 -0700
commitfb0712206484250681174b21cb6335284820ed13 (patch)
treed72201adde101389a44beb7cf9924c1008554b05 /zic.8
parent38a8f460b9598adfbf188ed49dce55cf9fb62880 (diff)
downloadtz-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.811
1 files changed, 9 insertions, 2 deletions
diff --git a/zic.8 b/zic.8
index c59ccfc..6fee96d 100644
--- a/zic.8
+++ b/zic.8
@@ -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.