NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix motion timeline offset (#19185)
Nicolas Mowen1763dba9c2fb
diff --git a/web/src/utils/timelineUtil.tsx b/web/src/utils/timelineUtil.tsxindex eed6dbbc7e..5021214713 100644--- a/web/src/utils/timelineUtil.tsx+++ b/web/src/utils/timelineUtil.tsx@@ -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;