Fix typo in comment; Document in an example that years beyond 1999
are handled; fix typo in same example.
This commit is contained in:
parent
a07e70af85
commit
15afdcdb78
@ -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.
|
||||
|
@ -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)");
|
||||
|
Loading…
Reference in New Issue
Block a user