]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak previous tar-mode time stamp code
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 23 Aug 2019 08:44:49 +0000 (10:44 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 23 Aug 2019 08:44:54 +0000 (10:44 +0200)
* 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.

lisp/tar-mode.el

index 95862dec82b062b5f0c418a45c11d528d7b572be..8e7e1945cbc37802b6120be4f632e1cda125b110 100644 (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