Update post type page with new date
This commit is contained in:
parent
12952ebcd0
commit
9b7c08fe8f
|
@ -505,7 +505,7 @@ class WC_Admin_Post_Types {
|
|||
$expiry_date = $the_coupon->get_date_expires();
|
||||
|
||||
if ( $expiry_date ) {
|
||||
echo esc_html( date_i18n( 'F j, Y', $expiry_date ) );
|
||||
echo esc_html( date_i18n( 'F j, Y', $expiry_date->getTimestamp() ) );
|
||||
} else {
|
||||
echo '–';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue