From 970aa2fedb71e05431a18bc0f215e9bcb47f3055 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Sat, 14 Jan 2017 14:45:39 -0500 Subject: [PATCH] Fix for CRM-19881: clobbered time --- api/v3/Contribution.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v3/Contribution.php b/api/v3/Contribution.php index 976ad8cc654e..85817f66038c 100644 --- a/api/v3/Contribution.php +++ b/api/v3/Contribution.php @@ -528,7 +528,7 @@ function _civicrm_api3_contribution_completetransaction_spec(&$params) { $params['trxn_date'] = array( 'title' => 'Transaction Date', 'description' => 'Date this transaction occurred', - 'type' => CRM_Utils_Type::T_DATE, + 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, ); } @@ -680,7 +680,7 @@ function _civicrm_api3_contribution_repeattransaction_spec(&$params) { $params['receive_date'] = array( 'title' => 'Contribution Receive Date', 'name' => 'receive_date', - 'type' => CRM_Utils_Type::T_DATE, + 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'api.default' => 'now', ); $params['trxn_id'] = array(