Update post type page with new date

This commit is contained in:
Claudiu Lodromanean 2017-03-13 15:16:03 -07:00
parent 12952ebcd0
commit 9b7c08fe8f
1 changed files with 1 additions and 1 deletions

View File

@ -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 '–';
}