[wp-trac] [WordPress Trac] #48886: Posting via XMLRPC (eg. WordPress Android App) causes post_date to have a doubled substitution by timezone
WordPress Trac
noreply at wordpress.org
Mon Dec 9 13:07:36 UTC 2019
#48886: Posting via XMLRPC (eg. WordPress Android App) causes post_date to have a
doubled substitution by timezone
--------------------------+------------------------------
Reporter: noyle | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 5.3
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Rarst):
Looking at this today. Related stuff seems to have been patched in the
past in #30429, then reverted in #35053, and so far there doesn't seem to
be much clarity on how is this supposed to work at all.
One thing I am confused about in your XML examples is that they contain
both `post_date` and `post_date_gmt` set to a same time. Is your client
set to UTC? Is this supposed to be like this? Is it not?
{{{
<member>
<name>post_date</name>
<value>
<dateTime.iso8601>20191206T09:14:18</dateTime.iso8601>
</value>
</member>
<member>
<name>post_date_gmt</name>
<value>
<dateTime.iso8601>20191206T09:14:18</dateTime.iso8601>
</value>
</member>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48886#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list