Datepicker: bug fix2.