📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fix: Proper validation
Blue Mouse0169a0b940f8
diff --git a/web/app/pages/Project/tabs/Traffic/TrafficView.tsx b/web/app/pages/Project/tabs/Traffic/TrafficView.tsxindex 161649efa..bd7f75817 100644--- a/web/app/pages/Project/tabs/Traffic/TrafficView.tsx+++ b/web/app/pages/Project/tabs/Traffic/TrafficView.tsx@@ -341,7 +341,6 @@ const TrafficViewInner = ({const handleDataPointClick = useCallback((d: { x: Date; index: number }) => {- console.log('handleDataPointClick:', d)const date = dayjs(d.x).tz(timezone)let from: stringlet to: stringdiff --git a/web/app/routes/api.analytics.ts b/web/app/routes/api.analytics.tsindex a11b55750..e48cd69d4 100644--- a/web/app/routes/api.analytics.ts+++ b/web/app/routes/api.analytics.ts@@ -79,13 +79,12 @@ function formatDateForBackend(dateStr: string | undefined): string | undefined {return dateStr}- // Preserve full ISO 8601 timestamps so the backend can use precise time boundsconst date = new Date(dateStr)if (!Number.isNaN(date.getTime())) {- return dateStr+ return date.toISOString()}- return dateStr+ return undefined}interface ProxyRequest {