aboutsummaryrefslogtreecommitdiffstats
path: root/view_functions.py
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2022-02-06 16:45:28 -0500
committermjfernez <mjf@mjfer.net>2022-02-06 16:45:28 -0500
commit8db2c6905adf00878d5549cc7d5766745daf6dd9 (patch)
tree38c82571e31c20b049ea86dc1cbeac12d999561f /view_functions.py
parent3ccea676191e24add12f68011726ed6ea80f5ee1 (diff)
downloadezcms-8db2c6905adf00878d5549cc7d5766745daf6dd9.tar.gz
merge fix for ctime->mtime for file_last_modified
Diffstat (limited to 'view_functions.py')
-rw-r--r--view_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/view_functions.py b/view_functions.py
index 1131778..960271f 100644
--- a/view_functions.py
+++ b/view_functions.py
@@ -20,7 +20,7 @@ def default_context():
def file_last_modified(path):
- return ctime(os.stat(path).st_ctime)
+ return ctime(os.stat(path).st_mtime)
def index_dir(path):
"""