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])
- 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 MarioAraquecs
thanks to liborm85hu
thanks to gergo85fi
thanks to joonaskaskisolaphzpl
thanks to xiiofr
thanks to nicooprat
- fixed dates array in
onSelect
callback
- fixed version for npm
- added timepicker (see docs for more info)
- added possibility to set
Date
intodayButton
- 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
onreadonly
inputs in IE - fixed issue when
range
is true and first selected date is bigger than second - added new languages:
da
thanks to bjarnefnl
thanks to JaZopt
thanks to cmpscabralpt-BR
thanks to dowglazro
thanks to tourniquet
- fixed '$ is not defined' problem.
- fixed
dateFormat
method. - 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
showOtherYears
option - fixed
onSelect
event, whenrange
is true - fixed case when
range
andmultipleDates
both set to true
- add
range
feature - improve keyboard navigation (fixed two focused cells)
- add keyboard navigation
- add
classes
option to add custom classes - add
altField
option - bug fixes