Example "19%y" changed to "%Y" to discourage poor usage.

This commit is contained in:
Daniel O'Callaghan 1999-01-13 07:01:07 +00:00
parent 871e9ed3e4
commit fd5a0a9b4b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42617

View File

@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\" $Id: date.1,v 1.24 1998/05/06 06:51:13 charnier Exp $
.\" $Id: date.1,v 1.25 1998/05/13 07:56:44 phk Exp $
.\"
.Dd November 17, 1993
.Dt DATE 1
@ -183,7 +183,7 @@ and years are handled automatically.
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
date "+DATE: 19%y-%m-%d%nTIME: %H:%M:%S"
date "+DATE: %Y-%m-%d%nTIME: %H:%M:%S"
.Ed
.Pp
will display: