git: 2e25db21976b - stable/13 - date(1): Improve manpage around '-I'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Sep 2025 14:59:07 UTC
The branch stable/13 has been updated by michaelo:
URL: https://cgit.FreeBSD.org/src/commit/?id=2e25db21976b04a6c62ba927ed0a8bea583bc07f
commit 2e25db21976b04a6c62ba927ed0a8bea583bc07f
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:55:50 +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 39a314214da6..3f1f513fcee5 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -31,7 +31,7 @@
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\"
-.Dd February 27, 2023
+.Dd September 1, 2025
.Dt DATE 1
.Os
.Sh NAME
@@ -128,7 +128,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
@@ -151,9 +151,9 @@ is
.Cm minutes
or
.Cm seconds ) ,
-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