Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix: errors timezone bug

Blue Mouse3b79a1fb5558
diff --git a/backend/apps/production/src/analytics/analytics.service.ts b/backend/apps/production/src/analytics/analytics.service.ts
index 32713f68e..a3a097dd2 100644
--- a/backend/apps/production/src/analytics/analytics.service.ts
+++ b/backend/apps/production/src/analytics/analytics.service.ts
@@ -3976,7 +3976,7 @@ export class AnalyticsService {
SELECT eid, name, message, filename, toTimeZone(errors.created, '${safeTimezone}') AS created
FROM errors
WHERE pid = {pid:FixedString(12)}
- AND created BETWEEN {groupFrom:String} AND {groupTo:String}
+ AND errors.created BETWEEN {groupFrom:String} AND {groupTo:String}
${filtersQuery}
) AS errors
LEFT JOIN (