fix initial timestamp

This commit is contained in:
lelo 2025-03-24 12:52:46 +01:00
parent 8682f220ee
commit 553fe2f0ae

2
app.py
View File

@ -363,7 +363,7 @@ def handle_request_initial_data():
rows = a.return_file_access()
connections = [
{
'timestamp': row[0],
'timestamp': datetime.strptime(row[0], '%Y-%m-%dT%H:%M:%S.%f').strftime('%d.%m.%Y %H:%M:%S'),
'full_path': row[1],
'ip_address': row[2],
'user_agent': row[3]