date.1: Make sure that the example works in any locale

This commit is contained in:
Mateusz Piotrowski 2023-04-13 13:02:20 +02:00
parent f0311046a0
commit 8688532f07

View File

@ -32,7 +32,7 @@
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\" $FreeBSD$
.\"
.Dd February 27, 2023
.Dd April 13, 2023
.Dt DATE 1
.Os
.Sh NAME
@ -516,7 +516,7 @@ will display
.Pp
Finally the command:
.Pp
.Dl "date -j -f ""%a %b %d %T %Z %Y"" ""`env LC_ALL=C date`"" ""+%s"""
.Dl "env LC_ALL=C date -j -f ""%a %b %d %T %Z %Y"" ""`env LC_ALL=C date`"" ""+%s"""
.Pp
can be used to parse the output from
.Nm