From e1a177f5cb0c4f7135500e8a7612d93f038df124 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 12 May 2022 22:59:55 +0300 Subject: [PATCH] Extend zoneinfo-style-world-list to include Amsterdam clock --- .emacs.d/esy.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.emacs.d/esy.org b/.emacs.d/esy.org index c90e3eb..96c427f 100644 --- a/.emacs.d/esy.org +++ b/.emacs.d/esy.org @@ -1258,6 +1258,22 @@ include =emacs-lisp-mode= and =lisp-interaction-mode=. (add-hook 'after-init-hook #'esy/setup-misc) #+end_src +** Show the time in Amsterdam in =world-clock= +:PROPERTIES: +:CUSTOM_ID: world-clock-amsterdam +:CreatedAt: <2022-05-12 Thu> +:CapturedAt: [[file:~/checkouts/dotfiles/.emacs.d/esy.org::#footer][file:~/checkouts/dotfiles/.emacs.d/esy.org::#footer]] +:CapturedAs: Emacs configuration fragment +:END: + +Add the timezones of places of interest to the list of clocks shown by +=M-x world-clock=. The list of named timezones is maintained by [[https://www.iana.org/time-zones][IANA]]. + +#+begin_src emacs-lisp + (with-eval-after-load 'time + (add-to-list 'zoneinfo-style-world-list '("Europe/Amsterdam" "Amsterdam"))) +#+end_src + * Elisp Footer :PROPERTIES: :CUSTOM_ID: footer -- 2.39.5