Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Merge remote-tracking branch 'origin/dev' into dev

Mike Caod7bf79305001
diff --cc queries/analytics/reports/getRetention.ts
index 7473e0428,3abc0e7ae..6ab49470e
--- a/queries/analytics/reports/getRetention.ts
+++ b/queries/analytics/reports/getRetention.ts
@@@ -34,8 -32,9 +34,8 @@@ async function relationalQuery
percentage: number;
}[]
> {
- const { startDate, endDate } = dateRange;
+ const { startDate, endDate, timezone = 'UTC' } = filters;
- const { getDateQuery, rawQuery } = prisma;
+ const { getDateQuery, getDayDiffQuery, getCastColumnQuery, rawQuery } = prisma;
- const timezone = 'utc';
const unit = 'day';
return rawQuery(