fixes date display on customer list page

This commit is contained in:
Ewout Fernhout 2014-02-07 15:50:11 +01:00
parent df773f520e
commit fe8335bbaf
1 changed files with 1 additions and 1 deletions

View File

@ -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> &ndash; ' . 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> &ndash; ' . date_i18n( get_option( 'date_format' ), strtotime( $order->order_date ) );
} else echo '-';
break;