There was an error while loading. Please reload this page.
1 parent e1a1e12 commit 9150e44Copy full SHA for 9150e44
1 file changed
src/pages/velocityHeatmap/useVelocityAggregationData.ts
@@ -17,6 +17,7 @@ export function useVelocityAggregationData(
17
timestamp: dayjs.Dayjs,
18
zoom: number,
19
) {
20
+ timestamp = timestamp.startOf('day').add(12, 'hour') // use midday to avoid timezone issues
21
const { data, isLoading, error } = useQuery({
22
queryFn: queryFn.bind(null, bounds, timestamp, zoom),
23
queryKey: [
0 commit comments