Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Products - date_created_gmt is potentially not observed #47

Open
kb6673 opened this issue Nov 6, 2018 · 1 comment
Labels

Comments

@kb6673
Copy link

@kb6673 kb6673 commented Nov 6, 2018

We've been waiting for woocommerce/wc-api-dev#104 to be ready for a while so we can do a particular task for a customer.

We're not entirely sure if date_created_gmt is observed correctly.

We have a simple create product call like this

image

Right now, when we are in GMT (both sites are set to Europe/London, the servers are UTC), we can pass date_created_gmt as 4pm (for example) and the product has a publish date of 4pm.

If I simulate BST (GMT+1) in WordPress

image

The product will have a publish date of 4pm +1h = 5pm, although we are using the date_created_gmt param which should not add an hour for us. The docs say

he date the product was created, as GMT.

The docs still reflect date_created as being read only. Is date_created_gmt still read only?

image

@claudiosanches claudiosanches transferred this issue from woocommerce/wc-api-dev Oct 4, 2019
@issue-label-bot

This comment has been minimized.

Copy link

@issue-label-bot issue-label-bot bot commented Oct 4, 2019

Issue-Label Bot is automatically applying the label type: bug to this issue, with a confidence of 0.77. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the type: bug label Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.