fix(datepicker): issue #2369