change task.due_date to datetime from date