invalid dates are formatted as empty strings