help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Impossible to customize world clock


From: Kepa
Subject: Impossible to customize world clock
Date: Mon, 8 Apr 2024 21:49:11 +0200

Hi

Today I have tried to customize and use the world clock.

Funny, the default world clocks are ok, but I can't customize it to add new zones.


Default list and clocks:

 '(zoneinfo-style-world-list
   '(("America/Los_Angeles" "Seattle")
     ("America/New_York" "New York")
     ("Europe/London" "London")
     ("Europe/Paris" "Paris")
     ("Asia/Calcutta" "Bangalore")
     ("Asia/Tokyo" "Tokyo"))))

Seattle   lunes 08 abril 12:42 PDT
New York  lunes 08 abril 15:42 EDT
London    lunes 08 abril 20:42 BST
Paris     lunes 08 abril 21:42 CDT
Bangalore martes 09 abril 01:12 IST
Tokyo     martes 09 abril 04:42 JST


I add a new one (Europe/Berlin):

 '(zoneinfo-style-world-list
   '(("America/Los_Angeles" "Seattle")
     ("America/New_York" "New York")
     ("Europe/London" "London")
     ("Europe/Paris" "Paris")
     ("Asia/Calcutta" "Bangalore")
     ("Asia/Tokyo" "Tokyo")
     ("Europe/Berlin" "Germany"))))


The world clock doesn't change:

Seattle   lunes 08 abril 12:44 PDT
New York  lunes 08 abril 15:44 EDT
London    lunes 08 abril 20:44 BST
Paris     lunes 08 abril 21:44 CDT
Bangalore martes 09 abril 01:14 IST
Tokyo     martes 09 abril 04:44 JST


Ok, let's customize instead then the "World Clock List":

 '(world-clock-list '(("America/Los_Angeles" "Seattle")))


And world clock is wrong:

Seattle lunes 08 abril 20:48 ric
Germany lunes 08 abril 20:48 ope


OS: Windows 10

GNU Emacs 29.2 (build 2, x86_64-w64-mingw32) of 2024-01-18


reply via email to

[Prev in Thread] Current Thread [Next in Thread]