Skip to content

Commit

Permalink
Merge pull request #4089 from impress-org/issue/4088
Browse files Browse the repository at this point in the history
fix: display donations made in 2019 when the site date format is set to d/m/Y #4088
  • Loading branch information
DevinWalker committed May 3, 2019
2 parents dbc385b + a65385f commit 811230a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/payments/class-payments-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ public function payments_data() {
: date( 'Y-m-d', 0 );
$end_date = ! empty( $_GET['end-date'] )
? sanitize_text_field( $_GET['end-date'] )
: date( give_date_format(), current_time( 'timestamp' ) );
: date( 'Y-m-d', current_time( 'timestamp' ) );
$form_id = ! empty( $_GET['form_id'] ) ? absint( $_GET['form_id'] ) : null;
$gateway = ! empty( $_GET['gateway'] ) ? give_clean( $_GET['gateway'] ) : null;

Expand Down

0 comments on commit 811230a

Please sign in to comment.