From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#28476: 26.0.60; Gnus: broken timezone in citation line
Date: Sun, 17 Sep 2017 17:25:27 +0300
Message-ID: <83efr5jtbc.fsf@gnu.org>
References: <20972.1505625258@alto>
Reply-To: Eli Zaretskii <eliz@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
X-Trace: blaine.gmane.org 1505658377 19636 195.159.176.226 (17 Sep 2017 14:26:17 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 17 Sep 2017 14:26:17 +0000 (UTC)
Cc: 28476@debbugs.gnu.org
To: Mike Kupfer <mkupfer@alum.berkeley.edu>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 17 16:26:12 2017
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1dtaWQ-0004sP-Uj
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Sep 2017 16:26:11 +0200
Original-Received: from localhost ([::1]:60809 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1dtaWY-0004kK-8z
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Sep 2017 10:26:18 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37969)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1dtaWN-0004k9-Mg
	for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 10:26:08 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1dtaWI-0005aV-Nv
	for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 10:26:07 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:36504)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1dtaWI-0005aQ-Kw
	for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 10:26:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1dtaWI-0000ZQ-Bz
	for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 10:26:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 17 Sep 2017 14:26:02 +0000
Resent-Message-ID: <handler.28476.B28476.15056583292157@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 28476
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
Original-Received: via spool by 28476-submit@debbugs.gnu.org id=B28476.15056583292157
	(code B ref 28476); Sun, 17 Sep 2017 14:26:02 +0000
Original-Received: (at 28476) by debbugs.gnu.org; 17 Sep 2017 14:25:29 +0000
Original-Received: from localhost ([127.0.0.1]:45185 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1dtaVl-0000Yi-A9
	for submit@debbugs.gnu.org; Sun, 17 Sep 2017 10:25:29 -0400
Original-Received: from eggs.gnu.org ([208.118.235.92]:46890)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <eliz@gnu.org>) id 1dtaVj-0000YT-NR
	for 28476@debbugs.gnu.org; Sun, 17 Sep 2017 10:25:28 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1dtaVZ-0005JR-LI
	for 28476@debbugs.gnu.org; Sun, 17 Sep 2017 10:25:22 -0400
Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49636)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
	id 1dtaVZ-0005JM-HK; Sun, 17 Sep 2017 10:25:17 -0400
Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3234
	helo=home-c4e4a596f7)
	by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <eliz@gnu.org>)
	id 1dtaVY-0000uM-Qa; Sun, 17 Sep 2017 10:25:17 -0400
In-reply-to: <20972.1505625258@alto> (message from Mike Kupfer on Sat, 16 Sep
	2017 22:14:18 -0700)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
	the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:137026
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/137026>

> 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.