mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-22 23:11:54 +03:00
Round duration
This commit is contained in:
parent
5f24dc2c33
commit
e7c9d71e45
@ -235,7 +235,7 @@ def run_analysis(
|
|||||||
"start": datetime.datetime.fromtimestamp(final_data["start_time"]).strftime(
|
"start": datetime.datetime.fromtimestamp(final_data["start_time"]).strftime(
|
||||||
"%A, %I:%M %p"
|
"%A, %I:%M %p"
|
||||||
),
|
),
|
||||||
"duration": final_data["end_time"] - final_data["start_time"],
|
"duration": round(final_data["end_time"] - final_data["start_time"]),
|
||||||
}
|
}
|
||||||
|
|
||||||
objects = []
|
objects = []
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user