Return offset timestamp not utc in legacy
This commit is contained in:
parent
3476121709
commit
62d00ff950
|
@ -109,7 +109,7 @@ abstract class WC_Legacy_Coupon extends WC_Data {
|
|||
$value = $this->get_usage_count();
|
||||
break;
|
||||
case 'expiry_date' :
|
||||
$value = ( $this->get_date_expires() ? $this->get_date_expires()->getTimestamp() : '' );
|
||||
$value = ( $this->get_date_expires() ? $this->get_date_expires()->getOffsetTimestamp() : '' );
|
||||
break;
|
||||
case 'product_categories' :
|
||||
$value = $this->get_product_categories();
|
||||
|
|
Loading…
Reference in New Issue