diff options
-rw-r--r-- | ranger/core/linemode.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/linemode.py b/ranger/core/linemode.py index d3aff064..9d033b72 100644 --- a/ranger/core/linemode.py +++ b/ranger/core/linemode.py @@ -109,7 +109,8 @@ class ModificationTimeLinemode(LinemodeBase): def filetitle(self, file, metadata): import time - return "%s %s" % (time.ctime(file.stat.st_mtime), file.relative_path) + return "%s %s" % (time.strftime("%x %X", + time.localtime(file.stat.st_mtime)), file.relative_path) def infostring(self, file, metadata): return "" |