git: 4148dffadd3b - main - date: remove some ambiguity in tzdata references
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Jul 2022 15:14:55 UTC
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=4148dffadd3b10fa11717cc36263e1d536aaa2f0 commit 4148dffadd3b10fa11717cc36263e1d536aaa2f0 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2022-07-27 17:30:18 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2022-07-28 15:14:18 +0000 date: remove some ambiguity in tzdata references The use of 'package' in this could be understood to mean a FreeBSD package provided by pkg, rather than the fact that we use data provided by IANA. Re-word it to clearly identify `tzdata` as the IANA Time Zone Database on first use, then drop subsequent uses of the word 'package'. Reviewed by: 0mp, pauamma, philip Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D35966 --- bin/date/date.1 | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/bin/date/date.1 b/bin/date/date.1 index da2dadd13c00..53a5d441099f 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 May 31, 2022 +.Dd July 28, 2022 .Dt DATE 1 .Os .Sh NAME @@ -353,9 +353,9 @@ Seconds, a number from 0 to 60 Everything but the minutes is optional. .Pp .Nm -understands the time zone definitions in the -.Sy tzdata -package located in +understands the time zone definitions from the IANA Time Zone Database, +.Sy tzdata , +located in .Pa /usr/share/zoneinfo . Time changes for Daylight Saving Time, standard time, leap seconds and leap years are handled automatically. @@ -367,9 +367,8 @@ If the file or symlink exists, it is interpreted as a time zone definition file, usually in the directory hierarchy .Pa /usr/share/zoneinfo , -which contains the time zone definitions from the -.Sy tzdata -package. +which contains the time zone definitions from +.Sy tzdata . .Pp If the environment variable .Ev TZ @@ -578,9 +577,8 @@ A number of options were added and then removed again, including the (set DST flag) and .Fl t (set negative time zone offset). -Time zones are now handled by the -.Sy tzdata -package. +Time zones are now handled by code bundled with +.Sy tzdata . .Pp The .Fl I