summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1994-08-28 16:52:46 +0000
committerats <ats@FreeBSD.org>1994-08-28 16:52:46 +0000
commitec07274b9d8ae401e33a3b1f676778f3991dd9be (patch)
tree4a43fb447bf405c31042d5851f934d1c07339415 /bin
parentdbdce797cb31d57b4d98ad9e978f1fbcd67ca04a (diff)
downloadFreeBSD-src-ec07274b9d8ae401e33a3b1f676778f3991dd9be.zip
FreeBSD-src-ec07274b9d8ae401e33a3b1f676778f3991dd9be.tar.gz
Reviewed by:
Submitted by: Correct two typos in the format string usages.
Diffstat (limited to 'bin')
-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 0eb6c7b..d7290e0 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -106,7 +106,7 @@ in the
manual page, as well as any arbitrary text.
The format string for the default display is:
.Bd -literal -offset indent
-``%a %b %e %H:%M:%S %Z n''.
+``%a %b %e %H:%M:%S %Z %Y%n''.
.Ed
.Pp
If an operand does not have a leading plus sign, it is interpreted as
@@ -136,7 +136,7 @@ and years are handled automatically.
.Sh EXAMPLES
The command:
.Bd -literal -offset indent
-date ``+DATE: %m/%d/%y%nTIME: %H:%M:0n''
+date ``+DATE: %m/%d/%y%nTIME: %H:%M:%S%n''
.Ed
.Pp
will display:
OpenPOWER on IntegriCloud