display creation date in view_log
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user