Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2023 11:03:43 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8688532f07c1 - main - date.1: Make sure that the example works in any locale
Message-ID:  <202304131103.33DB3hmS025624@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=8688532f07c14aee9e2d0f21397c193cf53fe2b9

commit 8688532f07c14aee9e2d0f21397c193cf53fe2b9
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2023-04-13 11:02:20 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-04-13 11:02:20 +0000

    date.1: Make sure that the example works in any locale
---
 bin/date/date.1 | 4 ++--
 1 file 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304131103.33DB3hmS025624>