📈 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 bug for custom date
kruzhambus8bb91b1231b5
diff --git a/src/redux/constants/index.ts b/src/redux/constants/index.tsindex 596c2bca1..6cf7738d5 100644--- a/src/redux/constants/index.ts+++ b/src/redux/constants/index.ts@@ -185,7 +185,7 @@ export const periodToCompareDate: {const to = new Date()to.setDate(to.getDate() - days)const from = new Date()- from.setDate(to.getDate() - days)+ from.setDate(from.getDate() - days * 2)return {from,to,