This repository was archived by the owner on Apr 13, 2022. It is now read-only.
v1.0.4 – "Formats For Days"
- Formats! You can now format all the output dates via the format object in the
new Calendarcall (Thanks Derk-Jan Karrenbeld)
new Calendar({
...
format = {
input: 'MMMM D, YYYY', // Format for the input fields
preset: 'll', // Format for the preset dates
jump_month: 'MMMM', // Format for the month switcher
jump_year: 'YYYY' // Format for the year switcher
}
...
}
});- Days array. You can now include your own days array if you'd like to change the values at the top of the calendar
new Calendar({
...
days_array: ['Su','Mo','Tu','We','Th','Fr','Sa']
...
}
});- Added support for manual date entry outside the range.. will now clamp back/forward to latest/earliest dates rather then just resetting. Yay!
- On the double calendar, callbacks now submit on a click event outside the calendar if a valid date has been chosen for the first date. No need to pick the same second date just to submit the changes!
- A few more minor bug fixes and improvements