Fix typo in comment; Document in an example that years beyond 1999

are handled; fix typo in same example.
This commit is contained in:
Daniel O'Callaghan 1997-04-16 05:59:21 +00:00
parent 1174d9f9df
commit ec50d24e74
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24976
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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)");