Update datetimepicker to format date when editing tasks.