fixes date display on customer list page
This commit is contained in:
parent
df773f520e
commit
fe8335bbaf
|
@ -171,7 +171,7 @@ class WC_Report_Customer_List extends WP_List_Table {
|
|||
if ( $order_ids ) {
|
||||
$order = new WC_Order( $order_ids[0] );
|
||||
|
||||
echo '<a href="' . admin_url( 'post.php?post=' . $order->id . '&action=edit' ) . '">' . $order->get_order_number() . '</a> – ' . date_i18n( get_option( 'date_format', strtotime( $order->order_date ) ) );
|
||||
echo '<a href="' . admin_url( 'post.php?post=' . $order->id . '&action=edit' ) . '">' . $order->get_order_number() . '</a> – ' . date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) );
|
||||
} else echo '-';
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue