GNU bug report logs - #37130
27.0.50; Tar mode should use the ISO8601 format to display the timestamps (or support TIME_STYLE or locales)

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Wed, 21 Aug 2019 14:32:01 UTC

Severity: wishlist

Tags: fixed

Found in version 27.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> mouse.gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 37130 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> mouse.gnus.org>
To: Vincent Lefevre <vincent <at> vinc17.net>
Cc: 37130 <at> debbugs.gnu.org
Subject: Re: 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 05:46:26 +0200
Vincent Lefevre <vincent <at> vinc17.net> 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.

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

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.