Adjust error message for the date