Skip to content

Commit d7e05db

Browse files
committed
revert change for sealAt
1 parent 0037104 commit d7e05db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cubejs-query-orchestrator/src/orchestrator/PreAggregationPartitionRangeLoader.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,8 @@ export class PreAggregationPartitionRangeLoader {
193193
if ((!partitionInvalidateKeyQueries || partitionInvalidateKeyQueries.length > 0) && buildRangeEnd < range[1]) {
194194
loadRange[1] = buildRangeEnd;
195195
}
196-
// partitionRanges() returns range in UTC.
197196
const sealAt = addSecondsToLocalTimestamp(
198-
loadRange[1], 'UTC', this.preAggregation.updateWindowSeconds || 0
197+
loadRange[1], this.preAggregation.timezone, this.preAggregation.updateWindowSeconds || 0
199198
).toISOString();
200199
return {
201200
...this.preAggregation,

0 commit comments

Comments
 (0)