Skip to content

Commit f548914

Browse files
committed
Proper date formatting
1 parent fc5d7c9 commit f548914

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

watcher/jobs/snapshots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async def take_player_snapshot():
1313
for session in sessions:
1414
sessions_dict[str(session.id)] = {
1515
"positions": session.positions,
16-
"start_date": session.start_date,
16+
"start_date": session.start_date.strftime("%Y-%m-%d %H:%M:%S"),
1717
"total_time": session.total_time
1818
}
1919

0 commit comments

Comments
 (0)