From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37130: 27.0.50; Tar mode should use the ISO8601 format to display the timestamps (or support TIME_STYLE or locales) Date: Fri, 23 Aug 2019 11:36:20 +0300 Message-ID: <83ef1cb7nf.fsf@gnu.org> References: <87ef1ea8to.fsf@vinc17.net> <87tva8sfvx.fsf@mouse.gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="59095"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37130@debbugs.gnu.org, vincent@vinc17.net To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 23 10:37:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i154I-000FHF-RD for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Aug 2019 10:37:10 +0200 Original-Received: from localhost ([::1]:52912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i154H-0000ks-CP for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Aug 2019 04:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45038) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i154B-0000kl-20 for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 04:37:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i154A-0007DC-3M for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 04:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i154A-0007D8-0C for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 04:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1549-0002Hx-Rl for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 04:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Aug 2019 08:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37130 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 37130-submit@debbugs.gnu.org id=B37130.15665493838745 (code B ref 37130); Fri, 23 Aug 2019 08:37:01 +0000 Original-Received: (at 37130) by debbugs.gnu.org; 23 Aug 2019 08:36:23 +0000 Original-Received: from localhost ([127.0.0.1]:39121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i153U-0002Gx-NI for submit@debbugs.gnu.org; Fri, 23 Aug 2019 04:36:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i153R-0002Gh-TO for 37130@debbugs.gnu.org; Fri, 23 Aug 2019 04:36:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i153M-0006x2-Ih; Fri, 23 Aug 2019 04:36:12 -0400 Original-Received: from [176.228.60.248] (port=1441 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i153L-0007pL-Vd; Fri, 23 Aug 2019 04:36:12 -0400 In-reply-to: <87tva8sfvx.fsf@mouse.gnus.org> (message from Lars Ingebrigtsen on Fri, 23 Aug 2019 05:46:26 +0200) 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: 209.51.188.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:165675 Archived-At: > From: Lars Ingebrigtsen > Date: Fri, 23 Aug 2019 05:46:26 +0200 > Cc: 37130@debbugs.gnu.org > > Vincent Lefevre writes: > > > When tar-mode-show-date is set to t (to get the timestamps), the > > Tar mode displays them in a non-standard format. It should use > > the ISO8601 format (this is what GNU tar does). > > I think it makes sense to follow GNU tar's lead here, so I've now done > this on the trunk. Yuck! what an ugly format! > > Other formats (e.g. one corresponding to the locales) could be used > > via an option; in particular, the support of the TIME_STYLE > > environment variable (see coreutils manual) would be a good idea. > > I think that sounds like overkill for tar-mode, but perhaps there should > be a general function somewhere for using TIME_STYLE throughout Emacs > whenever time/dates are displayed. I think we should just make the format used for the time stamp a user option, that would be a good-enough solution. It will also provide a "fire escape" to get the old behavior for those, like me, who might dislike the ISO8601 format. We must provide such backward-compatibility options anyway when we change behavior in incompatible ways. Finally, this change should be in NEWS (including the to-be-added backward-compatibility shim). Thanks.