From e971726578ae179443cc6ae5f0d8a316b3b56a8d Mon Sep 17 00:00:00 2001 From: Phuoc Cao Date: Sun, 3 Dec 2023 11:17:07 +0100 Subject: [PATCH] display creation date in view_log --- html_cleanup/views/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html_cleanup/views/default.py b/html_cleanup/views/default.py index 9aff5b8..ea992c7 100644 --- a/html_cleanup/views/default.py +++ b/html_cleanup/views/default.py @@ -211,7 +211,7 @@ def view_log(request): for f in entries: if f.name[0] != '.' and f.name != 'errors_log': f_path = temp_folder + f.name - nbs = os.path.getmtime(f_path) # en nombre de secondes + nbs = os.path.getctime(f_path) # en nombre de secondes dtLocaltime = time.localtime(nbs) # convertir en local time file = []