diff options
| author | Lars Ingebrigtsen | 2019-08-23 10:44:49 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-23 10:44:54 +0200 |
| commit | 15c4a822e1fe6d58592b0c5afd42c100d81cc4e5 (patch) | |
| tree | b5b1fb0f442b8b0458500bc54f5c1a9928c01a57 | |
| parent | 0fa18503522b3016647cabd67eb4abce7aa092c1 (diff) | |
| download | emacs-15c4a822e1fe6d58592b0c5afd42c100d81cc4e5.tar.gz emacs-15c4a822e1fe6d58592b0c5afd42c100d81cc4e5.zip | |
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.
| -rw-r--r-- | lisp/tar-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el index 95862dec82b..8e7e1945cbc 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." | |||
| 510 | (if (= 0 (length gname)) gid gname) | 510 | (if (= 0 (length gname)) gid gname) |
| 511 | size | 511 | size |
| 512 | (if tar-mode-show-date | 512 | (if tar-mode-show-date |
| 513 | (format-time-string " %FT%T" time) | 513 | (format-time-string " %Y-%m-%d %H:%M" time) |
| 514 | "") | 514 | "") |
| 515 | (propertize name | 515 | (propertize name |
| 516 | 'mouse-face 'highlight | 516 | 'mouse-face 'highlight |