選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # Air Datepicker
  2. 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+).
  3. ![air datepicker image](https://github.com/t1m0n/air-datepicker/raw/master/docs/img/promo-img-time.png)
  4. ## Install
  5. ### bower
  6. ```
  7. bower i --save air-datepicker
  8. ```
  9. ### npm
  10. ```
  11. npm i --save air-datepicker
  12. ```
  13. ## Usage
  14. ```javascript
  15. $('.my-datepicker').datepicker([options])
  16. ```
  17. ## Demo and docs
  18. * [In English](http://t1m0n.name/air-datepicker/docs/)
  19. * [In Russian](http://t1m0n.name/air-datepicker/docs/index-ru.html)
  20. ## Change log
  21. ### v2.2.3
  22. * fixed min,max dates in decade mode
  23. ### v2.2.2
  24. * fixed min,max dates handling
  25. ### v2.2.1
  26. * changed RegExp for recognizing date parts
  27. * changed jquery version dependency
  28. ### v2.2.0
  29. * added `onlyTimepicker` option
  30. * added `onShow` and `onHide` callbacks
  31. * added `VERSION` field to plugin's prototype
  32. * now for selecting same date in `range` mode, you should set `{toggleSelected: false}`
  33. * fixed `dateFormat` method (fixed wrong month name in Hungarian language)
  34. * fixed second call of `onRenderCallback`
  35. * fixed `_getCell()` throwing exception
  36. * new language:
  37. - `sk` thanks to [RobiNN1](https://github.com/RobiNN1)
  38. ### v2.1.0
  39. * added possibility to select single date when `{range: true}`
  40. * added support of 12 hours mode in `altFieldDateFormat`
  41. * improved work with minDate and maxDate when `{timepicker: true}`
  42. * fixed wrong class adding when `{range: true}`
  43. * new languages:
  44. - `es` thanks to [MarioAraque](https://github.com/MarioAraque)
  45. - `cs` thanks to [liborm85](https://github.com/liborm85)
  46. - `hu` thanks to [gergo85](https://github.com/gergo85)
  47. - `fi` thanks to [joonaskaskisolaphz](https://github.com/joonaskaskisolaphz)
  48. - `pl` thanks to [xiio](https://github.com/xiio)
  49. - `fr` thanks to [nicooprat](https://github.com/nicooprat)
  50. ### v2.0.2
  51. * fixed dates array in `onSelect` callback
  52. ### v2.0.1
  53. * fixed version for npm
  54. ### v2.0.0
  55. * added timepicker (see [docs](http://t1m0n.name/air-datepicker/docs#timepicker) for more info)
  56. * added possibility to set `Date` in `todayButton`
  57. * global variable `Datepicker` has been removed, now all placed in `$.fn.datepicker`
  58. * improved `selectDate` method, now one can pass an array of dates to select
  59. * added `npm` package
  60. * fixed issue caused by `placeholder` on `readonly` inputs in IE
  61. * fixed issue when `range` is true and first selected date is bigger than second
  62. * added new languages:
  63. - `da` thanks to [bjarnef](https://github.com/bjarnef)
  64. - `nl` thanks to [JaZo](https://github.com/JaZo)
  65. - `pt` thanks to [cmpscabral](https://github.com/cmpscabral)
  66. - `pt-BR` thanks to [dowglaz](https://github.com/dowglaz)
  67. - `ro` thanks to [tourniquet](https://github.com/tourniquet)
  68. ### v1.2.4
  69. * fixed '$ is not defined' problem.
  70. ### v1.2.3
  71. * fixed `dateFormat` method.
  72. * fixed typo in Russian docs, add ids in docs headers.
  73. ### v1.2.2
  74. * fixed typo in `monthsField`
  75. * added German language (thanks to [Ichag](https://github.com/Ichag))
  76. ### v1.2.1
  77. * tests added
  78. * added Chinese language (thanks to [think2011](https://github.com/think2011))
  79. * fixed if '0' is passed to `firstDay`
  80. * fixed `showOtherYears` option
  81. * fixed `onSelect` event, when `range` is true
  82. * fixed case when `range` and `multipleDates` both set to true
  83. ### v1.2.0
  84. * add `range` feature
  85. * improve keyboard navigation (fixed two focused cells)
  86. ### v1.1.0
  87. * add keyboard navigation
  88. * add `classes` option to add custom classes
  89. * add `altField` option
  90. * bug fixes