mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
Fix motion timeline offset
This commit is contained in:
parent
ca1c98eab8
commit
86a966f26e
@ -46,7 +46,7 @@ export function getChunkedTimeRange(
|
||||
endOfThisHour.setHours(endOfThisHour.getHours() + 1, 0, 0, 0);
|
||||
const data: TimeRange[] = [];
|
||||
const startDay = new Date(startTimestamp * 1000);
|
||||
startDay.setMinutes(0, 0, 0);
|
||||
startDay.setUTCMinutes(0, 0, 0);
|
||||
let start = startDay.getTime() / 1000;
|
||||
let end = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user