set validation error when date does not parse