about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-04-06 23:08:15 +0200
committerhut <hut@lepus.uberspace.de>2016-04-06 23:08:15 +0200
commitdca32e29fd3df1ccb3b5cbcf3e39facbd70bb634 (patch)
tree47396781f96a7713cea682eb325ec35ba09db140
parent3d5f27cd4d53930725203bb334cbdcb642718444 (diff)
downloadranger-dca32e29fd3df1ccb3b5cbcf3e39facbd70bb634.tar.gz
Revert "core.linemode: Changed timestamp formatting in mtime linemode"
This reverts commit 4dcbb42adaf42e9c154ac3011ddedec2793c090a.
-rw-r--r--ranger/core/linemode.py3
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 ""