Variable: world-clock-list

world-clock-list is a customizable variable defined in time.el.gz.

Value

t

Documentation

Alist of time zones and places for world-clock to display.

Each element has the form (TIMEZONE LABEL). TIMEZONE should be in a format supported by your system. See the documentation of zoneinfo-style-world-list and legacy-style-world-list for two widely used formats. LABEL is a string to display as the label of that TIMEZONE's time.

If the value is t instead of an alist, use the value of zoneinfo-style-world-list if it works on this platform, and of legacy-style-world-list otherwise.

This variable was added, or its default value changed, in Emacs 28.1.

Probably introduced at or before Emacs version 28.1.

Aliases

display-time-world-list (obsolete since 28.1)

Source Code

;; Defined in /usr/src/emacs/lisp/time.el.gz
(defcustom world-clock-list t
  "Alist of time zones and places for `world-clock' to display.
Each element has the form (TIMEZONE LABEL).
TIMEZONE should be in a format supported by your system.  See the
documentation of `zoneinfo-style-world-list' and
`legacy-style-world-list' for two widely used formats.  LABEL is
a string to display as the label of that TIMEZONE's time.

If the value is t instead of an alist, use the value of
`zoneinfo-style-world-list' if it works on this platform, and of
`legacy-style-world-list' otherwise."
  :type '(choice (const :tag "Default" t)
                 (repeat :tag "List of zones and labels"
                         (list (string :tag "Zone") (string :tag "Label"))))
  :version "28.1")