I am sending a post to Wordpress 3.8 with XML RPC. Here is the raw XML being sent to wordpress:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>wp.newPost</methodName>
<params>
<param>
<value>
<int>0</int>
</value>
</param>
<param>
<value>
<string>admin</string>
</value>
</param>
<param>
<value>
<string>password</string>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>post_status</name>
<value>
<string>publish</string>
</value>
</member>
<member>
<name>post_title</name>
<value>
<string>test 0.762719240039587</string>
</value>
</member>
<member>
<name>post_content</name>
<value>
<dateTime.iso8601>20140111T20:39:15</dateTime.iso8601>
</value>
</member>
<member>
<name>post_date</name>
<value>
<dateTime.iso8601>20140111T20:39:15</dateTime.iso8601>
</value>
</member>
<member>
<name>terms_names</name>
<value>
<struct>
<member>
<name>category</name>
<value>
<array>
<data>
<value>
<string>test</string>
</value>
</data>
</array>
</value>
</member>
</struct>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Seems ok. The Date is being sent with the correct UTC (the post was made at 14:39 Chicago time, -6 GMT) time and I get a post ID back (in this case 28062). Groovy.
Taking a look at it in phpMyAdmin the results go a bit weird.
ID #28063 has the correct timestamp on post_date_gmt, but the parent (28062), has a date that is 12 hours out from the date that was sent. Double the correct GMT offset. What is going on here?
revision
and the post_name is 28062-revision-v1. It's not an autosave