- Add some new i18n languages.
- Fix the issue of converting
31/10/2019
to01/10/2019
when the current month only has 30 days (#222).
- Fix the issue of unable to pick the current month or year again (#203).
- Fix unexpected month changing (#198).
- Fix wrong parameter for the
$.contains
function.
- Emulate click in touch devices to support hiding the picker automatically (#197).
- Fix wrong future month selection when today is 31 (#195).
- Fix month picking issue when the format only contains
YYYY
andMM
(#193).
- Ignore hours, minutes, seconds and milliseconds of parsed date to avoid side effect (#192)
- Fix day view when the selected day is not in the current year (#194).
- Convert 2-digit year to 2000+ (#186).
- Fix position problem in scrollable modal (#121).
- Fix the issue of the datepicker is replaced after picked a day (#128).
- Show full month name in date picker header (#133).
- Fix the issue of converting
0
to1
(#168).
- Fix the issue of years and months view rendering problem (#113).
- Add a second parameter to the
filter
function option (#116, #151). - Enhance the
setStartDate
andsetEndDate
methods, supportsnull
as argument (#157). - Change NPM package name scope from
@fengyuanchen
to@chenfengyuan
.
- 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
highlightedClass
for highlight today (#28). - Fixed the position of picker panel (#49).
- Rename
autoshow
option toautoShow
. - Rename
autohide
option toautoHide
. - Rename
autopick
option toautoPick
. - Improved the priority of language options.
- Fixed the issue of date view updating (#33).
- Fixed the issue of
startDate
option (#20)
- Change the default value of
zIndex
option from1
to1000
- 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
autoclose
toautohide
- Renamed
dateFormat
toformat
- Renamed
viewStart
tostartView
- Renamed
showMonthAfterYear
toyearFirst
- Renamed
selectedClass
topickedClass
- Renamed
isDisabled
tofilter
- 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