Skip to content

Commit

Permalink
Fix: date when withdraw charge create.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aunshon committed Nov 20, 2023
1 parent 9cfa4d4 commit 602176d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Withdraw/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function ajax_handle_withdraw_request() {
$withdraw
->set_user_id( $user_id )
->set_amount( $amount )
->set_date( dokan_current_datetime() )
->set_date( dokan_current_datetime()->format( 'Y-m-d H:i:s' ) )
->set_status( dokan()->withdraw->get_status_code( 'pending' ) )
->set_method( $method )
->set_ip( dokan_get_client_ip() )
Expand Down

0 comments on commit 602176d

Please sign in to comment.