mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Fix sqlite parsing
This commit is contained in:
parent
8240c34944
commit
42fb94e44a
@ -108,7 +108,7 @@ def events_summary():
|
|||||||
Event.camera,
|
Event.camera,
|
||||||
Event.label,
|
Event.label,
|
||||||
fn.strftime(
|
fn.strftime(
|
||||||
"%Y-%m-%d", fn.datetime(Event.start_time, "unixepoch", "utc", tz_offset)
|
"%Y-%m-%d", fn.datetime(Event.start_time, "unixepoch", tz_offset)
|
||||||
).alias("day"),
|
).alias("day"),
|
||||||
Event.zones,
|
Event.zones,
|
||||||
fn.COUNT(Event.id).alias("count"),
|
fn.COUNT(Event.id).alias("count"),
|
||||||
@ -118,7 +118,7 @@ def events_summary():
|
|||||||
Event.camera,
|
Event.camera,
|
||||||
Event.label,
|
Event.label,
|
||||||
fn.strftime(
|
fn.strftime(
|
||||||
"%Y-%m-%d", fn.datetime(Event.start_time, "unixepoch", "utc", tz_offset)
|
"%Y-%m-%d", fn.datetime(Event.start_time, "unixepoch", tz_offset)
|
||||||
),
|
),
|
||||||
Event.zones,
|
Event.zones,
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user