Variable: legacy-style-world-list
legacy-style-world-list is a customizable variable defined in
time.el.gz.
Value
(("PST8PDT" "Seattle") ("EST5EDT" "New York")
("GMT0BST,M3.5.0/1,M10.5.0" "London")
("CET-1CEST,M3.5.0,M10.5.0/3" "Paris") ("IST-5:30" "Delhi")
("JST-9" "Tokyo"))
Documentation
Alist of traditional-style time zones and places for world-clock.
Each element has the form (TIMEZONE LABEL). TIMEZONE should be a string of the form:
std[+|-]offset[dst[[+|-]offset][,date[/time],date[/time]]]
See the documentation of the TZ environment variable on your system, for more details about the format of TIMEZONE. LABEL is a string to display as the label of that TIMEZONE's time
This is the only option that has effect on MS-Windows, where you also cannot specify the [offset][,date[/time],date[/time]] part.
This variable was added, or its default value changed, in Emacs 23.1.
Source Code
;; Defined in /usr/src/emacs/lisp/time.el.gz
(defcustom legacy-style-world-list
;; This list is for circa 2025 timekeeping, and will need changes
;; if any of these locations change names, time zones, or DST rules.
(append
;; These entries assume the platform's default DST rules are for the US,
;; which is true of all known platforms that use this variable.
'(("PST8PDT" "Seattle")
("EST5EDT" "New York"))
;; Use POSIX.1-2017 style TZ if supported; otherwise, give up on London
;; and Paris as "GMT0BST" and "CET-1CDT" would use incorrect DST.
(when (string-equal (format-time-string "%z" 0 "XXX0YYY,M9.5.0/1,M4.1.0/3")
"+0100")
'(("GMT0BST,M3.5.0/1,M10.5.0" "London")
("CET-1CEST,M3.5.0,M10.5.0/3" "Paris")))
'(("IST-5:30" "Delhi")
("JST-9" "Tokyo")))
"Alist of traditional-style time zones and places for `world-clock'.
Each element has the form (TIMEZONE LABEL).
TIMEZONE should be a string of the form:
std[+|-]offset[dst[[+|-]offset][,date[/time],date[/time]]]
See the documentation of the TZ environment variable on your system,
for more details about the format of TIMEZONE.
LABEL is a string to display as the label of that TIMEZONE's time
This is the only option that has effect on MS-Windows, where you also
cannot specify the [offset][,date[/time],date[/time]] part."
:type '(repeat (list string string))
:version "23.1")