mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-04 13:47:37 +02:00
Fix motion timeline offset (#19185)
This commit is contained in:
parent
ca1c98eab8
commit
1763dba9c2
@ -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