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
This commit is contained in:
Kyle Evans 2022-07-27 12:30:18 -05:00
parent 713ceb99b6
commit 4148dffadd

View File

@ -32,7 +32,7 @@
.\" @(#)date.1 8.3 (Berkeley) 4/28/95 .\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd May 31, 2022 .Dd July 28, 2022
.Dt DATE 1 .Dt DATE 1
.Os .Os
.Sh NAME .Sh NAME
@ -353,9 +353,9 @@ Seconds, a number from 0 to 60
Everything but the minutes is optional. Everything but the minutes is optional.
.Pp .Pp
.Nm .Nm
understands the time zone definitions in the understands the time zone definitions from the IANA Time Zone Database,
.Sy tzdata .Sy tzdata ,
package located in located in
.Pa /usr/share/zoneinfo . .Pa /usr/share/zoneinfo .
Time changes for Daylight Saving Time, standard time, leap seconds Time changes for Daylight Saving Time, standard time, leap seconds
and leap years are handled automatically. 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 exists, it is interpreted as a time zone definition file, usually in
the directory hierarchy the directory hierarchy
.Pa /usr/share/zoneinfo , .Pa /usr/share/zoneinfo ,
which contains the time zone definitions from the which contains the time zone definitions from
.Sy tzdata .Sy tzdata .
package.
.Pp .Pp
If the environment variable If the environment variable
.Ev TZ .Ev TZ
@ -578,9 +577,8 @@ A number of options were added and then removed again, including the
(set DST flag) and (set DST flag) and
.Fl t .Fl t
(set negative time zone offset). (set negative time zone offset).
Time zones are now handled by the Time zones are now handled by code bundled with
.Sy tzdata .Sy tzdata .
package.
.Pp .Pp
The The
.Fl I .Fl I