git: 8e4b069f4555 - main - Remove reference to kernel clock time zone. Add references.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Mar 2022 03:44:07 UTC
The branch main has been updated by grog:
URL: https://cgit.FreeBSD.org/src/commit/?id=8e4b069f4555abd1906423f48440f63145f3c579
commit 8e4b069f4555abd1906423f48440f63145f3c579
Author: Greg Lehey <grog@FreeBSD.org>
AuthorDate: 2022-03-30 03:42:14 +0000
Commit: Greg Lehey <grog@FreeBSD.org>
CommitDate: 2022-03-30 03:42:14 +0000
Remove reference to kernel clock time zone.
Add references.
Reported by: philip@
---
bin/date/date.1 | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/bin/date/date.1 b/bin/date/date.1
index e4aad28c7d81..f9dc87681dc7 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -349,7 +349,6 @@ understands the time zone definitions in the
.Nm tzdata
package located in
.Pa /usr/share/zoneinfo .
-This requires the kernel clock to be set to UTC.
Time changes for Daylight Saving Time, standard time, leap seconds
and leap years are handled automatically.
.Pp
@@ -534,12 +533,19 @@ and exits with status 1.
.Xr getutxent 3 ,
.Xr strftime 3 ,
.Xr strptime 3 ,
-.Xr ntpd 8
+.Xr tzset 3 ,
+.Xr adjkerntz 8 ,
+.Xr ntpd 8 ,
+.Xr tzsetup 8
.Rs
.%T "TSP: The Time Synchronization Protocol for UNIX 4.3BSD"
.%A R. Gusella
.%A S. Zatti
.Re
+.Rs
+.%U https://iana.org/time-zones
+.%T Time Zone Database
+.Re
.Sh STANDARDS
The
.Nm