all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: help-gnu-emacs@gnu.org
Subject: How to use display-time-world to show time in specific time zones?
Date: Sat, 20 Feb 2016 13:13:27 -0400	[thread overview]
Message-ID: <87vb5jl2yw.fsf@gmail.com> (raw)

I'm wondering how to use display-time-world to display the time in
specific time zones.

The doc string for zoneinfo-style-world-list, which IIUC is the list of
time zones used by display-time-world says:

    zoneinfo-style-world-list is a variable defined in ‘time.el’.
    Its value is (("America/Los_Angeles" "Seattle")
     ("America/New_York" "New York")
     ("Europe/London" "London")
     ("Europe/Paris" "Paris")
     ("Asia/Calcutta" "Bangalore")
     ("Asia/Tokyo" "Tokyo"))

    Documentation:
    Alist of zoneinfo-style time zones and places for ‘display-time-world’.
    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.

But these values are _places_ not time zones. I'm wondering how, for
example, one would add UTC to the list?






             reply	other threads:[~2016-02-20 17:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-20 17:13 N. Jackson [this message]
2016-02-21  0:21 ` How to use display-time-world to show time in specific time zones? Emanuel Berg
2016-02-21  5:30 ` Yuri Khan

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=87vb5jl2yw.fsf@gmail.com \
    --to=nljlistbox2@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.