reduced the year length to 17
This commit was merged in pull request #425.
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user