mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
Example "19%y" changed to "%Y" to discourage poor usage.
This commit is contained in:
parent
871e9ed3e4
commit
fd5a0a9b4b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42617
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user