allow empty strings in dates as well, when specified