Just include the ISO8601 date instead of the full WC_DateTime object
This commit is contained in:
parent
39f654124c
commit
4136a42e1e
|
@ -26,7 +26,7 @@ class WC_Order_Tracking {
|
|||
public function track_order_viewed( $order ) {
|
||||
$properties = array(
|
||||
'current_status' => $order->get_status(),
|
||||
'date_created' => $order->get_date_created(),
|
||||
'date_created' => $order->get_date_created()->format( DateTime::ATOM ),
|
||||
'payment_method' => $order->get_payment_method(),
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue