]> source.dussan.org Git - jquery-ui.git/commitdiff
DatePicker: increase date range so that tests still pass through 2015 1419/head
authorLuke Page <luke.a.page@gmail.com>
Sat, 10 Jan 2015 21:11:14 +0000 (21:11 +0000)
committerLuke Page <luke.a.page@gmail.com>
Sat, 10 Jan 2015 21:11:14 +0000 (21:11 +0000)
tests/unit/datepicker/datepicker_options.js

index 8f18c854364c0538621615726aae0f9b826fa212..11b010717f71ab33432c6ee15156916f991f7b40 100644 (file)
@@ -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");