fix(web): allow calendar year picker to go back to 1970

This commit is contained in:
Johnny 2026-02-11 22:58:25 +08:00
parent 177a74e82b
commit 566fdccae6
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {