diff options
| author | Paul Eggert | 2022-12-29 19:16:09 -0800 |
|---|---|---|
| committer | Paul Eggert | 2022-12-29 21:32:16 -0800 |
| commit | 523261b454058d0b28df2c3de1eab55fe378aa69 (patch) | |
| tree | e0f3ba29c2745abae3e947e3e8a7489d05714e40 | |
| parent | 007e66bccb2cb8382158e5e24727fd1b4478cd69 (diff) | |
| download | emacs-523261b454058d0b28df2c3de1eab55fe378aa69.tar.gz emacs-523261b454058d0b28df2c3de1eab55fe378aa69.zip | |
Document calc-time-zone abbreviation obsolescence
* doc/misc/calc.texi (Time Zones): Document that alphabetic
time zone abbreviations are obsolescent and in some cases wrong.
| -rw-r--r-- | doc/misc/calc.texi | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index ef9990c057a..e5bac25cac8 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -17341,8 +17341,12 @@ it can be a variable which is a time zone name in upper- or lower-case. | |||
| 17341 | For example @samp{tzone(PST) = tzone(8)} and @samp{tzone(pdt) = tzone(7)} | 17341 | For example @samp{tzone(PST) = tzone(8)} and @samp{tzone(pdt) = tzone(7)} |
| 17342 | (for Pacific standard and daylight saving times, respectively). | 17342 | (for Pacific standard and daylight saving times, respectively). |
| 17343 | 17343 | ||
| 17344 | North American and European time zone names are defined as follows; | 17344 | North American and European time zone names are defined as follows. |
| 17345 | note that for each time zone there is one name for standard time, | 17345 | These names are obsolescent and new code should not rely on them: |
| 17346 | the @samp{YST}-related names have disagreed with time in Yukon since 1973, | ||
| 17347 | and other names could well become confusing or wrong in the future | ||
| 17348 | as countries change their time zone rules. | ||
| 17349 | For each time zone there is one name for standard time, | ||
| 17346 | another for daylight saving time, and a third for ``generalized'' time | 17350 | another for daylight saving time, and a third for ``generalized'' time |
| 17347 | in which the daylight saving adjustment is computed from context. | 17351 | in which the daylight saving adjustment is computed from context. |
| 17348 | 17352 | ||
| @@ -17364,7 +17368,7 @@ To define time zone names that do not appear in the above table, | |||
| 17364 | you must modify the Lisp variable @code{math-tzone-names}. This | 17368 | you must modify the Lisp variable @code{math-tzone-names}. This |
| 17365 | is a list of lists describing the different time zone names; its | 17369 | is a list of lists describing the different time zone names; its |
| 17366 | structure is best explained by an example. The three entries for | 17370 | structure is best explained by an example. The three entries for |
| 17367 | Pacific Time look like this: | 17371 | circa-2022 US Pacific Time look like this: |
| 17368 | 17372 | ||
| 17369 | @smallexample | 17373 | @smallexample |
| 17370 | @group | 17374 | @group |