mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00

committed by
Brandy Carney

parent
5da388a4de
commit
f30ae889c0
@ -105,7 +105,7 @@ export function dateValueRange(format: string, min: DatetimeData, max: DatetimeD
|
||||
throw new Error('min and max year is undefined');
|
||||
}
|
||||
|
||||
for (let i = max.year - 1; i >= min.year; i--) {
|
||||
for (let i = max.year; i >= min.year; i--) {
|
||||
opts.push(i);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user