fix study date picker max 2024

This commit is contained in:
mario
2025-03-12 12:57:10 +07:00
parent 62668122bd
commit 6e7babe991

View File

@@ -15,7 +15,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }: C
className={cn('p-3', className)}
captionLayout="dropdown"
fromYear={1945}
toYear={2024}
toYear={new Date().getFullYear()}
labels={{
labelMonthDropdown: () => undefined,
labelYearDropdown: () => undefined,