- Korean translations added.
- #168: Fixed month navigation with disabled dates.
- #161: Corrected “no-drop” cursor on input element for certain browsers.
- #158: Fixed CSS for disabled dates with unfocused input.
- #155: Corrected unescaped translations.
- #140: Fix for freezing with unexpected date format.
- #154: Fix for “mm” and “m” formats opening with incorrect month.
- Border styling adjusted for disabled times.
- #132: Fix for using
firstDay
with month starting on Sunday. - Improved disabled dates validation.
- #126: Fix for all dates disabled.
- #127: Fix for jQuery no conflict.
- #129: Fix for month nav wrapping around same year.
- #124: Fixed bug with navigating past year.
- #123: Removed
hiddenSuffix
extra quote character. - Fixed issue with month navigation on the 31st date.
With this major release, the entire API has been rethought to allow the picker to be much more configurable and extensible. These are the most notable updates:
- #20: Introduced a new time picker.
- #112: Firefox select month/year fix.
- #84: Scrollbar not hidden to avoid page shift.
- #89: Better event handling on clicks/focuses/keydowns within the holder.
- #98: Destroy picker data from element.
- Added Grunt.js build system.
- Added QUnit test suite.
- Added Travis integration.
- Updated themes to be LESS-based.
- Removed “inline” and “inline-fixed” themes.
- Removed jam.js bindings within
package.json
. - Removed official support for IE7. Still works but looks odd.
To enable all this goodness, some backward-incompatible changes have been introduced. These are the main ones:
-
#85: Months have zero-as-index:
Just as in JavaScript’s native Date object, the
month
used to create dates is now based on zero as the first index. Meaning:[2013,0,1] → January 01, 2013 [2013,11,1] → December 01, 2013
-
API revised:
isOpen → get('open') getDate → get('select') getDateLimit → get('min') or get('max') setDate → set('select', …) setDateLimit → set('min', …) or set('max', …) show → set('view', …)
-
Options revised:
showMonthsFull → showMonthsShort showWeekdaysShort → showWeekdaysFull yearSelector → selectYears monthSelector → selectMonths dateMin → min dateMax → max datesDisabled → disable onSelect → onSet
-
Options removed:
monthPrev monthNext
To add labels for the month navigation tabs, use CSS pseudo-elements instead.
-
A few HTML classes name and property changes.
-
Formatting rules that appear within a word need to be escaped with an exclamation mark (!).
#### Please do read the [docs](http://amsul.github.io/pickadate.js/date.htm#options) and [api](http://amsul.github.io/pickadate.js/api.htm) to see exactly how these new options and methods work.
## Older changelogs
If you’re looking for changes in older versions, please browse the tags for the relevant commit archive and changelog file.