From 392e5ff3be91ee1f67542d6da5f366e182905610 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 29 Oct 2014 08:37:54 +1300 Subject: [PATCH] CRM-12679 use less granular date to reflect JonG's comments --- CRM/Core/Payment/PayPalProIPN.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/PayPalProIPN.php b/CRM/Core/Payment/PayPalProIPN.php index 00df2971ae..933b050394 100644 --- a/CRM/Core/Payment/PayPalProIPN.php +++ b/CRM/Core/Payment/PayPalProIPN.php @@ -523,7 +523,7 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr // & suspec main function may be a victom of copy & paste // membership would be an easy add - but not relevant to my customer... $this->_component = $input['component'] = 'contribute'; - $input['trxn_date'] = date('Y-m-d-H-i-s', strtotime(self::retrieve('time_created', 'String'))); + $input['trxn_date'] = date('Y-m-d', strtotime(self::retrieve('time_created', 'String'))); $paymentProcessorID = CRM_Core_DAO::getFieldValue('CRM_Financial_DAO_PaymentProcessorType', 'PayPal', 'id', 'name' ); -- 2.25.1