- Remove added data when destroy.
- Remove unnecessary muted class from start and end years in years view (#130).
- Support to load in node environment.
- Add 3 new languages for i18n.
- Add example for using datepicker in modal.
- Update view year when the month over the current year.
- Fix the issue of days of month computing (#94).
- Fix color function error in the CSS.
- Refactor in ES6.
- Fix the issue of date range limits (#89).
- Fix the issue of date repicking (#75).
- Highlight the current year and month.
- Highlight the picked year and month.
- Fixed year and month picking issue.
- Hide the picker when the target input element is blurred (#54).
- Hide the picker when click the trigger element again.
- Fixed some issues in inline mode.
- Added a new option
highlightedClassfor highlight today (#28). - Fixed the position of picker panel (#49).
- Rename
autoshowoption toautoShow. - Rename
autohideoption toautoHide. - Rename
autopickoption toautoPick. - Improved the priority of language options.
- Fixed the issue of date view updating (#33).
- Fixed the issue of
startDateoption (#20)
- Change the default value of
zIndexoption from1to1000 - Simplify JavaScript code
- Optimize CSS code styles
- Fixed the issue of options overriding (#15)
- Fixed the error of next view month
- Fixed the error of month picker
- Supports custom events
- Supports to set start view date and end view date
- Improved i18n (internationalization)
- Improved placement of the datepicker
- Improved template
- Added 10 options:
autoshow,autopick,offset,language,startDate,endDate,mutedClass,show,hide,pick - Renamed
autoclosetoautohide - Renamed
dateFormattoformat - Renamed
viewStarttostartView - Renamed
showMonthAfterYeartoyearFirst - Renamed
selectedClasstopickedClass - Renamed
isDisabledtofilter
- Added 11 methods:
pick,reset,getMonthName,getDayName,getDate,setDate,setStartDate,setEndDate,parseDate,formatDate,destroy - Removed 2 methods:
enable,disable
- Added 3 events:
show.datepicker,hide.datepicker,pick.datepicker
- Fixed some bugs
- Added i18n files
- Optimized code style
- Supports 21 options:
date,dateFormat,disabledClass,selectedClass,autoclose,inline,trigger,container,showMonthAfterYear,zIndex,viewStart,weekStart,yearSuffix,days,daysShort,daysMin,months,monthsShort,itemTag,template,isDisabled - Supports 5 methods:
show,hide,enable,disable,update