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 .\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd February 27, 2023 .Dd April 13, 2023
.Dt DATE 1 .Dt DATE 1
.Os .Os
.Sh NAME .Sh NAME
@ -516,7 +516,7 @@ will display
.Pp .Pp
Finally the command: Finally the command:
.Pp .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 .Pp
can be used to parse the output from can be used to parse the output from
.Nm .Nm