Skip to content

Commit 76ebe08

Browse files
lukeapagescottgonzalez
authored andcommitted
DatePicker: increase date range so that tests still pass through 2015
(cherry picked from commit 0566e99)
1 parent ad121b2 commit 76ebe08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/datepicker/datepicker_options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,8 @@ test("minMax", function() {
506506

507507
inp.datepicker("option", {
508508
minDate: new Date(1900, 0, 1),
509-
maxDate: "-6Y",
510-
yearRange: "1900:-6"
509+
maxDate: "-7Y",
510+
yearRange: "1900:-7"
511511
}).val( "" );
512512
ok(dp.find(".ui-datepicker-next").hasClass("ui-state-disabled"), "Year Range Test - relative - next button disabled");
513513
ok(!dp.find(".ui-datepicker-prev").hasClass("ui-state-disabled"), "Year Range Test - relative - prev button enabled");

0 commit comments

Comments
 (0)