Fix motion timeline offset (#19185)

This commit is contained in:
Nicolas Mowen 2025-07-17 08:17:58 -06:00 committed by GitHub
parent ca1c98eab8
commit 1763dba9c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;