I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: Invalid Created Times showing up in the transactions

dashed-slug.net Forums TurtleCoin Adapter extension support Invalid Created Times showing up in the transactions Reply To: Invalid Created Times showing up in the transactions

#9109
d3vnu77
Participant

I am not changing your code, just outputting variable into the error log so I can see what is going on…

in wallets/includes/transactions.PHP : action_wallets_transaction()

I see you run this code to get it to MYSQL format, where you convert it to a string here… as mentioned above…

if ( is_numeric( $tx->created_time ) ) {
      $tx->created_time = date( DATE_ISO8601, $tx->created_time );
}
error_log(print_r( $tx, true ));

I echoed that to the debug.log and noticed that the string it is creating has an extra T & +0000… is that supposed to be there, see attached image.

When I try to insert that into the DO MYSQL I also get zero dates

Attachments:
You must be logged in to view attached files.