Commit 566fdcca authored by Johnny's avatar Johnny

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

parent 177a74e8
...@@ -3,7 +3,7 @@ export const MONTHS_IN_YEAR = 12; ...@@ -3,7 +3,7 @@ export const MONTHS_IN_YEAR = 12;
export const WEEKEND_DAYS = [0, 6] as const; export const WEEKEND_DAYS = [0, 6] as const;
export const MIN_COUNT = 1; export const MIN_COUNT = 1;
export const MIN_YEAR = 2000; export const MIN_YEAR = 1970;
export const getMaxYear = () => new Date().getFullYear() + 1; export const getMaxYear = () => new Date().getFullYear() + 1;
export const INTENSITY_THRESHOLDS = { export const INTENSITY_THRESHOLDS = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment