handle more better date formats
authorBarbara Miller <galgeek@users.noreply.github.com>
Wed, 16 Mar 2016 01:19:46 +0000 (18:19 -0700)
committerBarbara Miller <galgeek@users.noreply.github.com>
Wed, 16 Mar 2016 01:19:46 +0000 (18:19 -0700)
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

index 365ca8f1e2b507ec3770259317518e6ead492f2a..263963f0b4fd6e4da49146a91332d6fdd7c6aed8 100644 (file)
@@ -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);