arian/mootools-datepicker — Issue #94: Datepicker Year problem
Author: mfatih
Created: 2011-12-21 12:11:37+00:00
State: open

I have a small problem with this script. Is there anybody that can help me? If we get the last month December and and the first month of the next year, then the script doesn't work. How can we solve this year problem?

Tkank you for your helping in advance.

M. Fatih SENGUL
new Picker.Date('myInput3', {
pickerClass: 'datepicker_vista',
format: '%Y-%m-%d',
startView: 'days',
yearPicker: false,
minDate: '2011-12-19',
maxDate: '2012-1-24',
availableDates: {
2011: {
1: [19, 29, 31],
3: [5, 19, 24],
7: [6, 8, 20],
8: [29],
9: [15, 20],
10:[2]
}
}
});