Lightweight customizable cross-browser jQuery datepicker, built with es5 and css-flexbox. Works in all modern desktop and mobile browsers (tested on Android 4.4+ and iOS8+).
bower i --save air-datepicker
npm i --save air-datepicker
$('.my-datepicker').datepicker([options])- fixed min,max dates in decade mode
- fixed min,max dates handling
- changed RegExp for recognizing date parts
- changed jquery version dependency
- added
onlyTimepickeroption - added
onShowandonHidecallbacks - added
VERSIONfield to plugin's prototype - now for selecting same date in
rangemode, you should set{toggleSelected: false} - fixed
dateFormatmethod (fixed wrong month name in Hungarian language) - fixed second call of
onRenderCallback - fixed
_getCell()throwing exception - new language:
skthanks to RobiNN1
- added possibility to select single date when
{range: true} - added support of 12 hours mode in
altFieldDateFormat - improved work with minDate and maxDate when
{timepicker: true} - fixed wrong class adding when
{range: true} - new languages:
esthanks to MarioAraquecsthanks to liborm85huthanks to gergo85fithanks to joonaskaskisolaphzplthanks to xiiofrthanks to nicooprat
- fixed dates array in
onSelectcallback
- fixed version for npm
- added timepicker (see docs for more info)
- added possibility to set
DateintodayButton - global variable
Datepickerhas been removed, now all placed in$.fn.datepicker - improved
selectDatemethod, now one can pass an array of dates to select - added
npmpackage - fixed issue caused by
placeholderonreadonlyinputs in IE - fixed issue when
rangeis true and first selected date is bigger than second - added new languages:
dathanks to bjarnefnlthanks to JaZoptthanks to cmpscabralpt-BRthanks to dowglazrothanks to tourniquet
- fixed '$ is not defined' problem.
- fixed
dateFormatmethod. - fixed typo in Russian docs, add ids in docs headers.
- fixed typo in
monthsField - added German language (thanks to Ichag)
- tests added
- added Chinese language (thanks to think2011)
- fixed if '0' is passed to
firstDay - fixed
showOtherYearsoption - fixed
onSelectevent, whenrangeis true - fixed case when
rangeandmultipleDatesboth set to true
- add
rangefeature - improve keyboard navigation (fixed two focused cells)
- add keyboard navigation
- add
classesoption to add custom classes - add
altFieldoption - bug fixes
