Reimplement if the user does not provide a date, the task will be set to the current day's date. Accidentally removed it in the previous commit.