diff options
author | hut <hut@lepus.uberspace.de> | 2016-04-06 23:08:15 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-04-06 23:08:15 +0200 |
commit | dca32e29fd3df1ccb3b5cbcf3e39facbd70bb634 (patch) | |
tree | 47396781f96a7713cea682eb325ec35ba09db140 /ranger | |
parent | 3d5f27cd4d53930725203bb334cbdcb642718444 (diff) | |
download | ranger-dca32e29fd3df1ccb3b5cbcf3e39facbd70bb634.tar.gz |
Revert "core.linemode: Changed timestamp formatting in mtime linemode"
This reverts commit 4dcbb42adaf42e9c154ac3011ddedec2793c090a.
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/linemode.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/core/linemode.py b/ranger/core/linemode.py index 9d033b72..d3aff064 100644 --- a/ranger/core/linemode.py +++ b/ranger/core/linemode.py @@ -109,8 +109,7 @@ class ModificationTimeLinemode(LinemodeBase): def filetitle(self, file, metadata): import time - return "%s %s" % (time.strftime("%x %X", - time.localtime(file.stat.st_mtime)), file.relative_path) + return "%s %s" % (time.ctime(file.stat.st_mtime), file.relative_path) def infostring(self, file, metadata): return "" |