NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Adjust date math (#11485)
Nicolas Mowen01e387ee9a82
diff --git a/web/src/utils/dateUtil.ts b/web/src/utils/dateUtil.tsindex c9fc511df5..0f260cf9c4 100644--- a/web/src/utils/dateUtil.ts+++ b/web/src/utils/dateUtil.ts@@ -305,5 +305,5 @@ export function isCurrentHour(timestamp: number) {const timeShift = getTimestampOffset(timestamp);- return timestamp > now.getTime() / 1000 + timeShift;+ return timestamp + timeShift > now.getTime() / 1000;}