emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 15c4a82: Tweak previous tar-mode time stamp code


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 15c4a82: Tweak previous tar-mode time stamp code
Date: Fri, 23 Aug 2019 04:44:59 -0400 (EDT)

branch: master
commit 15c4a822e1fe6d58592b0c5afd42c100d81cc4e5
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/tar-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index 95862de..8e7e194 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]