summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanny <danny@FreeBSD.org>1997-04-16 05:59:21 +0000
committerdanny <danny@FreeBSD.org>1997-04-16 05:59:21 +0000
commit15afdcdb78add5ad4e311b7e03d3538e28f96c0a (patch)
tree538ce8d0c0bb9bafdae437d0d81a157c7c01ce3d
parenta07e70af85c12241e44d8305caf5a643bd30022c (diff)
downloadFreeBSD-src-15afdcdb78add5ad4e311b7e03d3538e28f96c0a.zip
FreeBSD-src-15afdcdb78add5ad4e311b7e03d3538e28f96c0a.tar.gz
Fix typo in comment; Document in an example that years beyond 1999
are handled; fix typo in same example.
-rw-r--r--bin/date/date.14
-rw-r--r--bin/date/date.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 9f19e9f..9d02c09 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
-.\" $Id$
+.\" $Id: date.1,v 1.11 1997/02/22 14:02:31 peter Exp $
.\"
.Dd November 17, 1993
.Dt DATE 1
@@ -118,7 +118,7 @@ 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 (.e.g 89 for 1989).
+Year in abbreviated form (e.g. 89 for 1989, 06 for 2006).
.It Ar mm
Numeric month.
A number from 1 to 12.
diff --git a/bin/date/date.c b/bin/date/date.c
index 4d7e74e..63707aa 100644
--- a/bin/date/date.c
+++ b/bin/date/date.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: date.c,v 1.10 1997/02/22 14:02:33 peter Exp $
+ * $Id: date.c,v 1.11 1997/03/28 15:24:16 imp Exp $
*/
#ifndef lint
@@ -117,7 +117,7 @@ main(argc, argv)
/*
* If -d or -t, set the timezone or daylight savings time; this
- * doesn't belong here, there kernel should not know about either.
+ * doesn't belong here; the kernel should not know about either.
*/
if (set_timezone && settimeofday((struct timeval *)NULL, &tz))
err(1, "settimeofday (timezone)");
OpenPOWER on IntegriCloud