all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mike Kupfer <mkupfer@alum.berkeley.edu>
Cc: 28476@debbugs.gnu.org
Subject: bug#28476: 26.0.60; Gnus: broken timezone in citation line
Date: Sun, 17 Sep 2017 17:25:27 +0300	[thread overview]
Message-ID: <83efr5jtbc.fsf@gnu.org> (raw)
In-Reply-To: <20972.1505625258@alto> (message from Mike Kupfer on Sat, 16 Sep 2017 22:14:18 -0700)

> From: Mike Kupfer <mkupfer@alum.berkeley.edu>
> Date: Sat, 16 Sep 2017 22:14:18 -0700
> 
> I have message-citation-line-format set to
> 
>   "On %e %B %Y %R %Z, %N wrote:\n"
> 
> When replying to a message whose date field is displayed as
> 
>   Date: Sat, 16 Sep 2017 17:18:30 -0700
> 
> the citation comes out as
> 
>   On 16 September 2017 17:18 +07, Mike Kupfer wrote:
> 
> I expect
> 
>   On 16 September 2017 17:18 -0700, Mike Kupfer wrote:
> 
> which is what Emacs 25.3 gives me.

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.

Thanks.





  reply	other threads:[~2017-09-17 14:25 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 [this message]
2017-09-17 15:29   ` Mike Kupfer
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

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

  git send-email \
    --in-reply-to=83efr5jtbc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=28476@debbugs.gnu.org \
    --cc=mkupfer@alum.berkeley.edu \
    /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.