Closed GoogleCodeExporter closed 8 years ago
ok i think i have a solution - check it!
.datePicker(
{
startDate: (new Date()).addHours(24).asString(),
endDate: '01/01/2999',
}
)
Seems to be working and i tested it out at the end of the month (between the
31st of march and april 1st)
hope this helps someone
Original comment by digitalg...@gmail.com
on 31 Mar 2011 at 4:24
Glad you figured it out..
(new Date()).addDays(1).asString()
Should also have worked...
To deal with the "after 5pm" thing you could do something like:
var startDate = (new Date()).addDays(1);
if (startDate.getHours() > 17) {
startDate.addDays(1);
}
/* selector */.datePicker(
{
startDate: startDate.asString(),
endDate: '01/01/2999'
}
)
(also note that there shouldn't be a trailing comma after endDate as you have
in the code above - this will cause problems in IE)
Original comment by kelvin.l...@gmail.com
on 14 Apr 2011 at 7:36
Original issue reported on code.google.com by
digitalg...@gmail.com
on 30 Mar 2011 at 9:13