If the date is empty, don't attempt to set it.