From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28476: 26.0.60; Gnus: broken timezone in citation line Date: Sun, 17 Sep 2017 19:12:01 +0300 Message-ID: <834ls1jodq.fsf@gnu.org> References: <21807.1505662186@alto> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505664797 16084 195.159.176.226 (17 Sep 2017 16:13:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2017 16:13:17 +0000 (UTC) Cc: 28476@debbugs.gnu.org To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 17 18:13:11 2017 Return-path: 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 ) id 1dtcBy-0003wV-By for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Sep 2017 18:13:10 +0200 Original-Received: from localhost ([::1]:32969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtcC5-0000hi-MW for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Sep 2017 12:13:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtcBu-0000hI-CW for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 12:13:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtcBq-00076s-HB for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 12:13:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dtcBq-00076k-D5 for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 12:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dtcBq-00031A-4o for bug-gnu-emacs@gnu.org; Sun, 17 Sep 2017 12:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Sep 2017 16:13:02 +0000 Resent-Message-ID: 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.150566473311545 (code B ref 28476); Sun, 17 Sep 2017 16:13:02 +0000 Original-Received: (at 28476) by debbugs.gnu.org; 17 Sep 2017 16:12:13 +0000 Original-Received: from localhost ([127.0.0.1]:45215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtcAz-000303-0k for submit@debbugs.gnu.org; Sun, 17 Sep 2017 12:12:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtcAu-0002zX-MD for 28476@debbugs.gnu.org; Sun, 17 Sep 2017 12:12:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtcAk-0006SK-KQ for 28476@debbugs.gnu.org; Sun, 17 Sep 2017 12:11:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtcAk-0006S0-Gk; Sun, 17 Sep 2017 12:11:54 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3512 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dtcAj-0002hU-Hz; Sun, 17 Sep 2017 12:11:54 -0400 In-reply-to: <21807.1505662186@alto> (message from Mike Kupfer on Sun, 17 Sep 2017 08:29:46 -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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137030 Archived-At: > From: Mike Kupfer > cc: 28476@debbugs.gnu.org > Date: Sun, 17 Sep 2017 08:29:46 -0700 > > Eli Zaretskii wrote: > > > > From: Mike Kupfer > > > > 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. Sorry, I assumed without checking that the format was handed to format-time-string. Anyway, I think Andreas found the reason.