fixed a bug that was causing date selection to override the selected time