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!

fixed datarange if picked 1 days

kruzhambusf00b19d8d984
diff --git a/src/redux/constants/index.js b/src/redux/constants/index.js
index f770b501b..1459c588a 100644
--- a/src/redux/constants/index.js
+++ b/src/redux/constants/index.js
@@ -67,6 +67,7 @@ export const MAX_MONTHS_IN_PAST = 24
export const MAX_MONTHS_IN_PAST_FREE = 3
export const timeBucketToDays = [
+ { lt: 1, tb: ['hour'] }, // 1 days
{ lt: 7, tb: ['hour', 'day'] }, // 7 days
{ lt: 28, tb: ['day', 'week'] }, // 4 weeks
{ lt: 366, tb: ['week', 'month'] }, // 12 months