Skip to content
Permalink
Browse files
DatePicker: increase date range so that tests still pass through 2015
  • Loading branch information
lukeapage committed Jan 10, 2015
1 parent c217007 commit 0566e9945774dea1b672eeb0472685a31c56edca
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/datepicker/datepicker_options.js
@@ -506,8 +506,8 @@ test("minMax", function() {

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

0 comments on commit 0566e99

Please sign in to comment.