From 566fdccae6282ac000d9140cf5258bdf4fa46254 Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 11 Feb 2026 22:58:25 +0800 Subject: [PATCH] fix(web): allow calendar year picker to go back to 1970 --- web/src/components/ActivityCalendar/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/ActivityCalendar/constants.ts b/web/src/components/ActivityCalendar/constants.ts index fdba8f80..c0913b96 100644 --- a/web/src/components/ActivityCalendar/constants.ts +++ b/web/src/components/ActivityCalendar/constants.ts @@ -3,7 +3,7 @@ export const MONTHS_IN_YEAR = 12; export const WEEKEND_DAYS = [0, 6] as const; export const MIN_COUNT = 1; -export const MIN_YEAR = 2000; +export const MIN_YEAR = 1970; export const getMaxYear = () => new Date().getFullYear() + 1; export const INTENSITY_THRESHOLDS = {