all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@mouse.gnus.org>
Cc: 37130@debbugs.gnu.org, vincent@vinc17.net
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	[thread overview]
Message-ID: <83ef1cb7nf.fsf@gnu.org> (raw)
In-Reply-To: <87tva8sfvx.fsf@mouse.gnus.org> (message from Lars Ingebrigtsen on Fri, 23 Aug 2019 05:46:26 +0200)

> From: Lars Ingebrigtsen <larsi@mouse.gnus.org>
> Date: Fri, 23 Aug 2019 05:46:26 +0200
> Cc: 37130@debbugs.gnu.org
> 
> Vincent Lefevre <vincent@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.

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.





  reply	other threads:[~2019-08-23  8:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-21 14:31 bug#37130: 27.0.50; Tar mode should use the ISO8601 format to display the timestamps (or support TIME_STYLE or locales) Vincent Lefevre
2019-08-23  3:46 ` Lars Ingebrigtsen
2019-08-23  8:36   ` Eli Zaretskii [this message]
2019-08-25  6:03     ` Lars Ingebrigtsen
2019-08-25  7:41       ` Eli Zaretskii

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=83ef1cb7nf.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=37130@debbugs.gnu.org \
    --cc=larsi@mouse.gnus.org \
    --cc=vincent@vinc17.net \
    /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.