We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b68ba commit 4d7f3e4Copy full SHA for 4d7f3e4
packages/trpc/src/routers/overview.ts
@@ -124,8 +124,8 @@ export const overviewRouter = createTRPCRouter({
124
.groupBy(['minute'])
125
.orderBy('minute', 'ASC')
126
.fill(
127
- clix.exp('now() - INTERVAL 30 MINUTE'),
128
- clix.exp('now()'),
+ clix.exp('toStartOfMinute(now() - INTERVAL 30 MINUTE)'),
+ clix.exp('toStartOfMinute(now())'),
129
clix.exp('INTERVAL 1 MINUTE'),
130
);
131
0 commit comments