Automattic / woocommerce-subscriptions-core

Subscriptions core package for WooCommerce
Other
87 stars 33 forks source link

Start date display can be confusing #464

Open WillBrubaker opened 1 year ago

WillBrubaker commented 1 year ago

Describe the bug

If the site timezone is not set to UTC, the start date displayed for a subscription on the related orders meta box can be confusing. It also apparently prevents access for merchants who may have external validation of the subscription and checking the start date. See 6473467-zen

To Reproduce

  1. Site timezone set to Los Angeles
  2. Purchase a subscription and complete checkout
  3. View the related orders metabox for the order, see that the subscription start date is in 7 hours

Expected behavior

For the subscription to reflect an accurate start date/time and to have an accurate post_date and post_date_gmt fields.

Actual behavior

Start time is offset from payment time an equal amount of time as the difference between UTC and the site time.

lAFovm.png

Product impact

Additional context