Skip to content

Commit

Permalink
[#279] matching of existing contribution on the same date.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjendres committed Nov 24, 2022
1 parent 20ae0c9 commit e879bb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function rateContribution($contribution, $context) {
}
$contribution_amount = $contribution['total_amount'];
$target_date = strtotime($context->btx->value_date);
$contribution_date = (int) strtotime($contribution['receive_date']);
$contribution_date = (int) strtotime(date('Y-m-d', strtotime($contribution['receive_date'])));

// check for date limits
if ($config->received_date_check) {
Expand Down

0 comments on commit e879bb8

Please sign in to comment.