Adding a default date format if none is given for the date.