Fix date handling and improve datepicker display.