Mark timezone-world-timezones obsolete

* lisp/timezone.el (timezone-world-timezones): Now obsolete.
This commit is contained in:
Paul Eggert 2026-08-31 11:06:30 -07:00
parent 2a909974fd
commit 0899936ea1
2 changed files with 9 additions and 5 deletions

View file

@ -474,9 +474,10 @@ button labeled "diff". Pushing it displays a Diff Mode buffer comparing
the actual and expected output.
+++
** The variable 'math-tzone-names' is now now marked obsolete.
Strings should use numeric abbreviations like "-0600" instead of
alphabetic abbreviations like "CST", which are too often ambiguous.
** The variables 'math-tzone-names' and 'timezone-world-timezones' are
now marked obsolete. Strings should use numeric abbreviations like
"-0600" instead of alphabetic abbreviations like "CST", which are too
often ambiguous.
* Changes in Emacs 32.1 on Non-Free Operating Systems

View file

@ -51,9 +51,12 @@
("GMT-7" . -700) ("GMT-8" . -800) ("GMT-9" . -900)
("GMT-10" . -1000) ("GMT-11" . -1100) ("GMT-12" . -1200))
"Time differentials of timezone from GMT in +-HHMM form.
This list is obsolescent, and is present only for backwards compatibility,
This list is obsolete, and is present only for backwards compatibility,
because time zone names are ambiguous in practice; for example, abbreviations
like \"PST\" can change meaning with time. Use `current-time-zone' instead.")
like \"PST\" can change meaning with time.")
(make-obsolete-variable
'timezone-world-timezones
"use numeric time zone abbreviations or `current-time-zone' instead." "32.1")
(defvar timezone-months-assoc
'(("JAN" . 1)("FEB" . 2)("MAR" . 3)