From dca32e29fd3df1ccb3b5cbcf3e39facbd70bb634 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 6 Apr 2016 23:08:15 +0200 Subject: Revert "core.linemode: Changed timestamp formatting in mtime linemode" This reverts commit 4dcbb42adaf42e9c154ac3011ddedec2793c090a. --- ranger/core/linemode.py | 3 +-- 1 file changed, 1 insertion(+), 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 "" -- cgit 1.4.1-2-gfad0