Rynald0s
(@rynald0s)
Automattic Happiness Engineer
Hi there!
You can use the woocommerce_admin_order_date_format filter, like so:
add_filter('woocommerce_admin_order_date_format', 'custom_post_date_column_time');
function custom_post_date_column_time($post) {
$h_time = get_post_time( __( 'Y/d/m', 'woocommerce' ), $post );
return $h_time;
}
Just remember to change Y/d/m to what you need it to show.
Cheers!
@rynald0s… thanks.
Before originally posting I’d tried such a filter.
Although it works on the page (Screen ID = edit-shop_order) which lists orders, it doesn’t change the ‘General Details=>Order date:’ field on the ‘edit order’ page (Screen ID = shop_order) for individual orders.