summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-11-07 19:20:06 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-11-07 19:20:06 +0000
commit6356ae1f0d6c238e6a40cafe803e47a43304fda4 (patch)
tree92616b3fbb8c06029f263ff7a46efd626976d241
parentcc947e7400d831a56b2a9aeb4296507a0bd76bf6 (diff)
- document the `cc' part of `ccyy'
- get its description right - minor grammar tweaks ok otto@
-rw-r--r--bin/date/date.121
1 files changed, 10 insertions, 11 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index e243e46fe6e..1c1a1d8ebc5 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: date.1,v 1.41 2004/07/21 08:59:30 jmc Exp $
+.\" $OpenBSD: date.1,v 1.42 2005/11/07 19:20:05 jmc Exp $
.\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -130,21 +130,20 @@ a value for setting the system's notion of the current date and time.
The canonical representation for setting the date and time is:
.Pp
.Bl -tag -width Ds -compact -offset indent
-.It Ar yy
-Year in abbreviated form (for years 1969-2068).
-The format
-.Ar ccyymmddHHMM
-is also permitted, for non-ambiguous years.
+.It Ar ccyy
+Year:
+the first two digits (representing the century) may be omitted
+for non-ambiguous years (1969\-2068).
.It Ar mm
-Numeric month, a number from 1 to 12.
+Numeric month: a number from 1 to 12.
.It Ar dd
-Day, a number from 1 to 31.
+Day: a number from 1 to 31.
.It Ar HH
-Hour, a number from 0 to 23.
+Hour: a number from 0 to 23.
.It Ar MM
-Minute, a number from 0 to 59.
+Minute: a number from 0 to 59.
.It Ar SS
-Second, a number from 0 to 61 (59 plus a maximum of two leap seconds).
+Second: a number from 0 to 61 (59 plus a maximum of two leap seconds).
.El
.Pp
Everything but the minute is optional.