From a301ef9f7ba4d2ba6dba51e3e202e45cfe8e60a4 Mon Sep 17 00:00:00 2001 From: Barbara Miller Date: Mon, 2 May 2016 18:33:32 -0700 Subject: [PATCH] handle more better date formats in 4.6 this is the same issue as https://issues.civicrm.org/jira/browse/CRM-13063 but in a different location, Contribution.php's _assignMesssageVariablesToTemplate already submitted and accepted for 4.7: https://github.com/civicrm/civicrm-core/commit/5bab7daf82c8005c92527fd8f3a76f0bb4f315a6 --- 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 74ecb50164..b3d47d70ce 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -2536,7 +2536,7 @@ WHERE contribution_id = %1 "; $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