aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2022-12-29 19:16:09 -0800
committerPaul Eggert2022-12-29 21:32:16 -0800
commit523261b454058d0b28df2c3de1eab55fe378aa69 (patch)
treee0f3ba29c2745abae3e947e3e8a7489d05714e40
parent007e66bccb2cb8382158e5e24727fd1b4478cd69 (diff)
downloademacs-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.texi10
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.
17341For example @samp{tzone(PST) = tzone(8)} and @samp{tzone(pdt) = tzone(7)} 17341For 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
17344North American and European time zone names are defined as follows; 17344North American and European time zone names are defined as follows.
17345note that for each time zone there is one name for standard time, 17345These names are obsolescent and new code should not rely on them:
17346the @samp{YST}-related names have disagreed with time in Yukon since 1973,
17347and other names could well become confusing or wrong in the future
17348as countries change their time zone rules.
17349For each time zone there is one name for standard time,
17346another for daylight saving time, and a third for ``generalized'' time 17350another for daylight saving time, and a third for ``generalized'' time
17347in which the daylight saving adjustment is computed from context. 17351in 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,
17364you must modify the Lisp variable @code{math-tzone-names}. This 17368you must modify the Lisp variable @code{math-tzone-names}. This
17365is a list of lists describing the different time zone names; its 17369is a list of lists describing the different time zone names; its
17366structure is best explained by an example. The three entries for 17370structure is best explained by an example. The three entries for
17367Pacific Time look like this: 17371circa-2022 US Pacific Time look like this:
17368 17372
17369@smallexample 17373@smallexample
17370@group 17374@group