You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you mean which fields on the WordPressPost object to set, that's a bit more subtle. My recommendation is to only use post_date_gmt with a GMT/UTC datetime, as that's the only guaranteed way to get the value you desire. If you use the plain post_date field, it will get converted on the server based on user timezone settings, which may be different than the local timezone on the client running this library.
I'll use this issue to track adding proper documentation around dates. If I didn't fully answer your question, please let me know.
I've found some flaws when dealing with dates and RPC.
Can you expose how do you work with them?
Currently I'm converting all dates to UTC prior to sending to WordPress
The text was updated successfully, but these errors were encountered: