Lightweight customizable cross-browser jQuery datepicker, built with es5 and css-flexbox. Works in all modern desktop and mobile browsers (tested no Android 4.4+ and iOS8+) .
bower i --save air-datepicker
`
$3
`
npm i --save air-datepicker
`Usage
`javascript
$('.my-datepicker').datepicker([options])
`Demo and docs
* In English
* In RussianChange log
$3
* fixed min,max dates in decade mode$3
* fixed min,max dates handling$3
* changed RegExp for recognizing date parts
* changed jquery version dependency$3
* added onlyTimepicker option
* added onShow and onHide callbacks
* added VERSION field to plugin's prototype
* now for selecting same date in range mode, you should set {toggleSelected: false}
* fixed dateFormat method (fixed wrong month name in Hungarian language)
* fixed second call of onRenderCallback
* fixed _getCell() throwing exception
* new language:
- sk thanks to RobiNN1
$3
* 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:
- es thanks to MarioAraque
- cs thanks to liborm85
- hu thanks to gergo85
- fi thanks to joonaskaskisolaphz
- pl thanks to xiio
- fr thanks to nicooprat$3
* fixed dates array in onSelect callback$3
* fixed version for npm$3
* added timepicker (see docs for more info)
* added possibility to set Date in todayButton
* global variable Datepicker has been removed, now all placed in $.fn.datepicker
* improved selectDate method, now one can pass an array of dates to select
* added npm package
* fixed issue caused by placeholder on readonly inputs in IE
* fixed issue when range is true and first selected date is bigger than second
* added new languages:
- da thanks to bjarnef
- nl thanks to JaZo
- pt thanks to cmpscabral
- pt-BR thanks to dowglaz
- ro thanks to tourniquet$3
* fixed '$ is not defined' problem. $3
* fixed dateFormat method.
* fixed typo in Russian docs, add ids in docs headers.$3
* fixed typo in monthsField
* added German language (thanks to Ichag)$3
* tests added
* added Chinese language (thanks to think2011)
* fixed if '0' is passed to firstDay
* fixed showOtherYears option
* fixed onSelect event, when range is true
* fixed case when range and multipleDates both set to true$3
* add range feature
* improve keyboard navigation (fixed two focused cells)$3
* add keyboard navigation
* add classes option to add custom classes
* add altField` option