From 5bab7daf82c8005c92527fd8f3a76f0bb4f315a6 Mon Sep 17 00:00:00 2001 From: Barbara Miller Date: Tue, 15 Mar 2016 18:19:46 -0700 Subject: [PATCH] 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 --- CRM/Contribute/BAO/Contribution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1