Unspected behaviour whin month/year menu, date range and view multiple months
someInput.datepicker({
buttonImage: imgPath,
buttonImageOnly: true,
showOn: 'button',
minDate: 0,
maxDate: '+11M', // so end range is in january of the next year
clearAtTop: false,
firstDay:1,
dateFormat:'yy-m-d',
numberOfMonths:2
}
With this setup and today month as reference date (02/09), when the user select 2010 from the year dropdown, the calendar displays december 2009 and january 2010, now try to select some other month using the month dropdown (the year dropdown is in 2009), the calendar remains in the same months (december and january). This is happening because of range comparation and that the calendar believes that it should be displaying a month in 2010(which is partially true).
Change History (3)
Description: |
modified (diff)
|
Milestone: |
TBD →
1.next
|
Resolution: |
→ duplicate
|
Status: |
new →
closed
|
Duplicate of #3778. Fixed in r1673.