]> git.eshelyaron.com Git - emacs.git/commitdiff
; Improve documentation of 'world-clock'
authorEli Zaretskii <eliz@gnu.org>
Wed, 10 Apr 2024 13:52:21 +0000 (16:52 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Apr 2024 16:48:14 +0000 (18:48 +0200)
* lisp/time.el (zoneinfo-style-world-list)
(legacy-style-world-list): Doc fixes.

(cherry picked from commit db7b571aaaf4aa16fc6a88a53a8740c3a102ce60)

lisp/time.el

index a8d3ab9c813e4f26381b7ee8d9dee935faf12d04..b6f8de8fc4a12f3b293c8d97126bc19a902b4b7d 100644 (file)
@@ -459,7 +459,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")
 
@@ -478,7 +482,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")