BlackIce Admin Date Column fix for WooCommerce
v1.2.0Black Ice · 2020年10月2日 上架
Adds the full time and date to the date column for those that find the '1 hour ago' stupid.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,303
- 最近更新
- 2023年4月1日
贡献者
Adds the full time and date to the date column for those that find the ‘1 hour ago’ stupid.
This isn’t the best fix going, since the core function render_order_date_column in https://github.com/woocommerce/woocommerce/blob/a7d57a248ed03dac7bad119e71f83dd961f43cb3/includes/admin/list-tables/class-wc-admin-list-table-orders.php
does not (imo) implent a filter correctly. You can add a filter for the date column, BUT it’s only effective on the field for orders greater than 1 day.
This is a quick fix to add a full time and date alongside the ‘1 hour’ output without affecting it or duplicating the output on orders greater than 1 day.