display creation date in view_log

This commit is contained in:
2023-12-03 11:17:07 +01:00
parent 99b78a9ddf
commit e971726578

View File

@@ -211,7 +211,7 @@ def view_log(request):
for f in entries: for f in entries:
if f.name[0] != '.' and f.name != 'errors_log': if f.name[0] != '.' and f.name != 'errors_log':
f_path = temp_folder + f.name 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 dtLocaltime = time.localtime(nbs) # convertir en local time
file = [] file = []