mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-23 17:51:19 +00:00
updated
SCCS-file: Theory SCCS-SID: 4.2
This commit is contained in:
committed by
Paul Eggert
parent
35da1e2d91
commit
1c3ac45831
26
Theory
26
Theory
@ -37,13 +37,14 @@ the usefulness of the SVR2 functions:
|
||||
These are the changes that have been made to the SVR2 functions:
|
||||
|
||||
* The "TZ" environment variable is used in generating the name of a file
|
||||
from which time zone information is read; "TZ" is no longer constrained
|
||||
to be a three-letter time zone name followed by a number of hours and
|
||||
an optional three-letter daylight time zone name. The daylight saving
|
||||
time rules to be used for a particular time zone are encoded in the
|
||||
time zone file; the format of the file allows U.S., Australian, and
|
||||
other rules to be encoded, and allows for situations where more than
|
||||
two time zone abbreviations are used.
|
||||
from which time zone information is read (or is interpreted a la
|
||||
POSIX); "TZ" is no longer constrained to be a three-letter time zone
|
||||
name followed by a number of hours and an optional three-letter
|
||||
daylight time zone name. The daylight saving time rules to be used
|
||||
for a particular time zone are encoded in the time zone file;
|
||||
the format of the file allows U.S., Australian, and other rules to be
|
||||
encoded, and allows for situations where more than two time zone
|
||||
abbreviations are used.
|
||||
|
||||
It was recognized that allowing the "TZ" environment variable to
|
||||
take on values such as "US/Eastern" might cause "old" programs
|
||||
@ -54,8 +55,8 @@ These are the changes that have been made to the SVR2 functions:
|
||||
to continue using "TZ": it is widely used for time zone purposes;
|
||||
separately maintaining both "TZ" and "TIMEZONE" seemed a nuisance;
|
||||
and systems where "new" forms of "TZ" might cause problems can simply
|
||||
give time zone files names such as "EST5EDT" which can be used both by
|
||||
"new" programs (as file names) and "old" programs (as zone names and
|
||||
use TZ values such as "EST5EDT" which can be used both by
|
||||
"new" programs (a la POSIX) and "old" programs (as zone names and
|
||||
offsets).
|
||||
|
||||
* To handle places where more than two time zone abbreviations are used,
|
||||
@ -124,10 +125,3 @@ functions. Rather, their absence reflects the decision to make this package
|
||||
close to SVR2 (with the exceptions outlined above) to ensure its broad
|
||||
acceptability. If more powerful time conversion functions can be standardized,
|
||||
so much the better.
|
||||
|
||||
It's probably not wise to standardize everything in this package.
|
||||
While the command
|
||||
nroff -man newctime.3
|
||||
produces a document that describes this package, the command
|
||||
nroff -man -rX3J11 newctime.3
|
||||
produces a document that describes the "standardizable" parts.
|
||||
|
||||
Reference in New Issue
Block a user