summaryrefslogtreecommitdiffstats
path: root/bin/date
diff options
context:
space:
mode:
authordanny <danny@FreeBSD.org>1999-01-13 07:01:07 +0000
committerdanny <danny@FreeBSD.org>1999-01-13 07:01:07 +0000
commit6ed0387d6b0bb72c89afcc25457473e287edbeb9 (patch)
treec75814e6559340ca6f337723204f187682955679 /bin/date
parent7570a5c9f7bd9a3d45d953cf52ef294c45c0d74d (diff)
downloadFreeBSD-src-6ed0387d6b0bb72c89afcc25457473e287edbeb9.zip
FreeBSD-src-6ed0387d6b0bb72c89afcc25457473e287edbeb9.tar.gz
Example "19%y" changed to "%Y" to discourage poor usage.
Diffstat (limited to 'bin/date')
-rw-r--r--bin/date/date.14
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index 6d87af9..cf0c792 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: 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:
OpenPOWER on IntegriCloud