reduced the year length to 17

This commit was merged in pull request #425.
This commit is contained in:
2023-09-25 07:39:08 +01:00
parent 349b524151
commit 89a9e77380
+1 -1
View File
@@ -326,7 +326,7 @@ function YearMonthDropdowns({
const currentYear = new Date().getFullYear();
// Generate an array of years from the current year to (currentYear - 19)
const years = Array.from({ length: 20 }, (_, index) => currentYear - index);
const years = Array.from({ length: 17 }, (_, index) => currentYear - index);
// Array of month names
const months = [