mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-16 12:02:09 +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(
|
||||
"%A, %I:%M %p"
|
||||
),
|
||||
"duration": final_data["end_time"] - final_data["start_time"],
|
||||
"duration": round(final_data["end_time"] - final_data["start_time"]),
|
||||
}
|
||||
|
||||
objects = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user