File tree 3 files changed +3
-3
lines changed 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ export default {
273
273
if (typeof this .disabledDates .daysOfMonth !== ' undefined' && this .disabledDates .daysOfMonth .indexOf (this .utils .getDate (date)) !== - 1 ) {
274
274
disabledDates = true
275
275
}
276
- if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date)) {
276
+ if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date, ' day ' )) {
277
277
disabledDates = true
278
278
}
279
279
return disabledDates
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ export default {
188
188
}
189
189
}
190
190
191
- if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date)) {
191
+ if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date, ' month ' )) {
192
192
disabledDates = true
193
193
}
194
194
return disabledDates
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export default {
161
161
}
162
162
}
163
163
164
- if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date)) {
164
+ if (typeof this .disabledDates .customPredictor === ' function' && this .disabledDates .customPredictor (date, ' year ' )) {
165
165
disabledDates = true
166
166
}
167
167
You can’t perform that action at this time.
0 commit comments