all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: 72285@debbugs.gnu.org
Cc: joseph@breatheoutbreathe.in
Subject: bug#72285: 29.4; world-clock reports same time zone for all zones in world-clock-list
Date: Thu, 25 Jul 2024 07:22:21 +0100	[thread overview]
Message-ID: <87cyn20z4y.fsf@yandex.com> (raw)
In-Reply-To: <87msm613hn.fsf@breatheoutbreathe.in> (Joseph Turner via's message of "Wed, 24 Jul 2024 21:48:20 -0700")

>>>>> Bug reports for GNU Emacs, the Swiss army knife of text editors <Joseph> writes:

    > With world-clock-list set to t (the default), world-clock works as
    > expected.  If world-clock-list is set to an alist, the results are
    > wrong.

    > With emacs -Q, run M-x world-clock to see output:

    > Seattle Wednesday 24 July 21:41 PDT New York Thursday 25 July
    > 00:41 EDT London Thursday 25 July 05:41 BST Paris Thursday 25 July
    > 06:41 CDT Bangalore Thursday 25 July 10:11 IST Tokyo Thursday 25
    > July 13:41 JST

    > So good so far.  Now evaluate the following

    > (require 'time) (setopt world-clock-list '(("Africa/Ouagadougou"
    > "Ouagadougou") ("America/New_York" "New York") ("Asia/Shanghai"
    > "Shanghai") ("Europe/Berlin" "Berlin")))

    > and run M-x world-clock again to see:

    > Ouagadougou Thursday 25 July 04:42 Africa New York Thursday 25
    > July 04:42 America Shanghai Thursday 25 July 04:42 Asia Berlin
    > Thursday 25 July 04:42 Europe

    > All of the timezones are incorrectly set to UTC.

    > My emacs was installed with Guix on top of Debian stable, so it
    > wouldn't surprise me if this is not a bug but rather a
    > configuration issue.  In any case, I'd appreciate some help!

It might be your system because your recipe works for me:

Ouagadougou Thursday 25 July 06:18 GMT
New York    Thursday 25 July 02:18 EDT
Shanghai    Thursday 25 July 14:18 CST
Berlin      Thursday 25 July 08:18 CEST

I'm using emacs-31.0.50 on an old Debian.

Colin Baxter.






  parent reply	other threads:[~2024-07-25  6:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-25  4:48 bug#72285: 29.4; world-clock reports same time zone for all zones in world-clock-list Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-25  6:20 ` Eli Zaretskii
2024-07-25  6:22 ` Colin Baxter [this message]
2024-07-25  8:13   ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-25  8:35   ` Stefan Kangas
2024-07-29 11:23 ` bug#72285: debian .. now what (was: bug#72285: 29.4; world-clock reports same time zone for all zones in world-clock-list) Gijs Hillenius
2024-07-29 11:41 ` bug#72285: more weirdness " Gijs Hillenius
2024-07-29 19:23   ` bug#72285: more weirdness Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-31  7:22     ` Gijs Hillenius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87cyn20z4y.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=72285@debbugs.gnu.org \
    --cc=joseph@breatheoutbreathe.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.