fix issue #45: DatePicker
fixed issuie #45