Skip to content

Commit

Permalink
Merge pull request #9680 from h-c-c/CRM-19881
Browse files Browse the repository at this point in the history
Fix for CRM 19881: Clobbered time for receive_date and trxn_date
  • Loading branch information
eileenmcnaughton authored Jan 31, 2017
2 parents 2edb909 + 970aa2f commit 338d5ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v3/Contribution.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 338d5ac

Please sign in to comment.