Ensure dates are ISO 8601