fix initial timestamp
This commit is contained in:
parent
8682f220ee
commit
553fe2f0ae
2
app.py
2
app.py
@ -363,7 +363,7 @@ def handle_request_initial_data():
|
|||||||
rows = a.return_file_access()
|
rows = a.return_file_access()
|
||||||
connections = [
|
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],
|
'full_path': row[1],
|
||||||
'ip_address': row[2],
|
'ip_address': row[2],
|
||||||
'user_agent': row[3]
|
'user_agent': row[3]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user