From: Mike Kupfer <mkupfer@alum.berkeley.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 28476@debbugs.gnu.org
Subject: bug#28476: 26.0.60; Gnus: broken timezone in citation line
Date: Sun, 17 Sep 2017 08:29:46 -0700 [thread overview]
Message-ID: <21807.1505662186@alto> (raw)
In-Reply-To: Your message of "Sun, 17 Sep 2017 17:25:27 +0300." <83efr5jtbc.fsf@gnu.org>
Eli Zaretskii wrote:
> > From: Mike Kupfer <mkupfer@alum.berkeley.edu>
> > I have message-citation-line-format set to
> >
> > "On %e %B %Y %R %Z, %N wrote:\n"
[...]
> I think you should use %z, not %Z. %Z gives the time-zone _name_, a
> string, whereas %z gives its numeric form. FWIW, I get the time-zone
> name from %Z in both Emacs 25.3 and the current emacs-26 branch. Not
> sure why you get different results in 25.3.
How are you testing this? The docstring for
message-citation-line-format says that %z and %Z are special-cased, with
both producing the time zone in numeric form.
Maybe there was a deliberate change in Gnus to distinguish %z from %Z
for Emacs 26? If so, there are still 2 issues: the documentation is
wrong, and I'd expect %Z to produce "PDT", not "+07".
(format-time-string "%Z")
=> "PDT"
mike
next prev parent reply other threads:[~2017-09-17 15:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-17 5:14 bug#28476: 26.0.60; Gnus: broken timezone in citation line Mike Kupfer
2017-09-17 14:25 ` Eli Zaretskii
2017-09-17 15:29 ` Mike Kupfer [this message]
2017-09-17 15:59 ` Andreas Schwab
2017-09-17 16:12 ` Eli Zaretskii
2017-09-18 3:56 ` Paul Eggert
2017-09-18 15:37 ` Mike Kupfer
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21807.1505662186@alto \
--to=mkupfer@alum.berkeley.edu \
--cc=28476@debbugs.gnu.org \
--cc=eliz@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).