git: a39ca2c29995 - stable/14 - date(1): Improve manpage around '-I'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Sep 2025 14:53:24 UTC
The branch stable/14 has been updated by michaelo:
URL: https://cgit.FreeBSD.org/src/commit/?id=a39ca2c299954b0e077bdebc9a083546cf3e9d0f
commit a39ca2c299954b0e077bdebc9a083546cf3e9d0f
Author: Michael Osipov <michaelo@FreeBSD.org>
AuthorDate: 2025-08-31 20:06:00 +0000
Commit: Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2025-09-04 14:52:37 +0000
date(1): Improve manpage around '-I'
* ISO 8601 defines two formats: basic and extended, clarify that we
output the extended format only.
* Clarify that ISO 8601 is only aware of timezone /offsets/, not timezones,
it has no relation to the Olson timezone database (TZ environment variable).
Reviewed by: otis (mentor), des
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D52314
(cherry picked from commit 21628c79d541b55b5e60231cefec73ca31719b6d)
---
bin/date/date.1 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bin/date/date.1 b/bin/date/date.1
index 62d28a7df0a0..b86a660a924d 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd September 10, 2024
+.Dd September 1, 2025
.Dt DATE 1
.Os
.Sh NAME
@@ -129,7 +129,7 @@ format.
Parsing is done using
.Xr strptime 3 .
.It Fl I Ns Op Ar FMT
-Use
+Use extended
.St -iso8601
output format.
.Ar FMT
@@ -154,9 +154,9 @@ is
.Cm seconds ,
or
.Cm ns Pc ,
-the
+the extended
.St -iso8601
-format includes the timezone.
+format includes the timezone offset.
.It Fl j
Do not try to set the date.
This allows you to use the