diff --git a/includes/tracks/events/class-wc-order-tracking.php b/includes/tracks/events/class-wc-order-tracking.php index fb0589517e0..7e02a398989 100644 --- a/includes/tracks/events/class-wc-order-tracking.php +++ b/includes/tracks/events/class-wc-order-tracking.php @@ -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(), );