changed datepicker mode from date and time to date