summaryrefslogtreecommitdiff
path: root/bin/date
diff options
context:
space:
mode:
Diffstat (limited to 'bin/date')
-rw-r--r--bin/date/Makefile3
-rw-r--r--bin/date/date.14
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/date/Makefile b/bin/date/Makefile
index cf3ceb4c0419..d6562b4b5094 100644
--- a/bin/date/Makefile
+++ b/bin/date/Makefile
@@ -1,8 +1,9 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
-# $Id: Makefile,v 1.6 1997/08/09 22:34:01 brian Exp $
+# $Id: Makefile,v 1.5 1997/08/04 03:37:05 brian Exp $
PROG= date
SRCS= date.c netdate.c vary.c
+CFLAGS+=-Wall
DPADD= ${LIBUTIL}
LDADD= -lutil
diff --git a/bin/date/date.1 b/bin/date/date.1
index cf0c792626c9..6d87af9633f8 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.25 1998/05/13 07:56:44 phk Exp $
+.\" $Id: date.1,v 1.24 1998/05/06 06:51:13 charnier 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: %Y-%m-%d%nTIME: %H:%M:%S"
+date "+DATE: 19%y-%m-%d%nTIME: %H:%M:%S"
.Ed
.Pp
will display: