In admin/includes/actions/orders/views/default.php I can find the code as below
Code: Select all
[
'name' => TABLE_HEADING_DATE_PURCHASED,
'class' => 'text-right',
'function' => function (&$row) {
return Date::abridge($row['date_purchased']);
},
],Code: Select all
$contents[] = ['text' => sprintf(TEXT_DATE_ORDER_CREATED, (new Date($table_definition['info']->date_purchased))->format(DATE_TIME_FORMAT))];can someone help with this so the date shows in the orders table please.