Skip to content

Commit

Permalink
Resolve iATSPayments#432 by replacing strftime with date()
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Oct 20, 2023
1 parent 7049ed9 commit ffd4262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Iats/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ static function get_future_monthly_start_dates($start_date, $allow_days) {
$key = ''; // date('YmdHis');
}
else {
$display = strftime('%B %e, %Y', $start_date);
$display = date('%F %j, %Y', strtotime($start_date));
}
$start_dates[$key] = $display;
$start_date += (24 * 60 * 60);
Expand Down

0 comments on commit ffd4262

Please sign in to comment.