aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2023-04-13 11:02:20 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2023-04-13 11:02:20 +0000
commit8688532f07c14aee9e2d0f21397c193cf53fe2b9 (patch)
tree5258bb069a67115a32afa630c0a396a4befb514b
parentf0311046a0e21cea8f343fa6fe868444ba552b3f (diff)
downloadsrc-8688532f07c14aee9e2d0f21397c193cf53fe2b9.tar.gz
src-8688532f07c14aee9e2d0f21397c193cf53fe2b9.zip
date.1: Make sure that the example works in any locale
-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 582b8bc6cd09..0c92a8c71f90 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -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