From: Barbara Miller Date: Wed, 16 Mar 2016 01:19:46 +0000 (-0700) Subject: handle more better date formats X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5bab7daf82c8005c92527fd8f3a76f0bb4f315a6;p=civicrm-core.git handle more better date formats this is the same issue as https://issues.civicrm.org/jira/browse/CRM-13063 but in a different location, Contribution.php's _assignMesssageVariablesToTemplate, per IRC with Eileen, xurizaemon, and others --- diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 365ca8f1e2..263963f0b4 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -2823,7 +2823,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $template->assign('trxn_id', $this->trxn_id); $template->assign('receive_date', - CRM_Utils_Date::mysqlToIso($this->receive_date) + CRM_Utils_Date::processDate($this->receive_date) ); $template->assign('contributeMode', 'notify'); $template->assign('action', $this->is_test ? 1024 : 1);