From db7b571aaaf4aa16fc6a88a53a8740c3a102ce60 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 10 Apr 2024 16:52:21 +0300 Subject: [PATCH] ; Improve documentation of 'world-clock' * lisp/time.el (zoneinfo-style-world-list) (legacy-style-world-list): Doc fixes. --- lisp/time.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lisp/time.el b/lisp/time.el index 6d95ae326c6..29c7f53ac1f 100644 --- a/lisp/time.el +++ b/lisp/time.el @@ -452,7 +452,11 @@ Each element has the form (TIMEZONE LABEL). TIMEZONE should be a string of the form AREA/LOCATION, where AREA is the name of a region -- a continent or ocean, and LOCATION is the name of a specific location, e.g., a city, within that region. -LABEL is a string to display as the label of that TIMEZONE's time." +LABEL is a string to display as the label of that TIMEZONE's time. + +This option has effect only on systems that support Posix-style +zoneinfo files specified as CONTINENT/CITY. In particular, +MS-Windows doesn't support that; use `legacy-style-world-list' instead." :type '(repeat (list string string)) :version "23.1") @@ -471,7 +475,10 @@ TIMEZONE should be a string of the form: 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." +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")