date format.
----------------------------------------
* CRM-15019: Importing participant record with register date in a format other than YYYY-MM-DD results in validation error
https://issues.civicrm.org/jira/browse/CRM-15019
$params[$key] = CRM_Utils_String::strtoboolstr($val);
}
}
+ if($key == 'participant_register_date') {
+ CRM_Utils_Date::convertToDefaultDate($params, $dateType, 'participant_register_date');
+ $formatted['participant_register_date'] = CRM_Utils_Date::processDate($params['participant_register_date']);
+ }
}
}