1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Tweak previous tar-mode time stamp code

* lisp/tar-mode.el (tar-header-block-summarize): Tweak previous
commit to output the time stamp in the exact same way that GNU tar
does.
This commit is contained in:
Lars Ingebrigtsen 2019-08-23 10:44:49 +02:00
parent 0fa1850352
commit 15c4a822e1

View file

@ -510,7 +510,7 @@ MODE should be an integer which is a file mode value."
(if (= 0 (length gname)) gid gname)
size
(if tar-mode-show-date
(format-time-string " %FT%T" time)
(format-time-string " %Y-%m-%d %H:%M" time)
"")
(propertize name
'mouse-face 'highlight