[wp-trac] [WordPress Trac] #35053: XML-RPC when post with date_created_gmt, its post_date will gmt date not local date
WordPress Trac
noreply at wordpress.org
Sun Dec 13 18:00:59 UTC 2015
#35053: XML-RPC when post with date_created_gmt, its post_date will gmt date not
local date
--------------------------+-----------------------------
Reporter: hnle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 4.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Since [34681] (fix of #30429), `mw_newPost` `mw_editPost` using
`date_created_gmt` (like WP for Android App) is broken because its
post_date will '''GMT''' date not '''Local date'''.
Android App request sample:
https://gist.github.com/hinaloe/88bc64ec00b2ce79f502
In App, I selected 12-14 20:00 (+09:00) so `date_created_gmt` is
`20151214T11:00:00`.
but in WP, <post_date | post_date_gmt> is <2015-12-14 11:00:00 |
2015-12-14 02:00:00>
[34681] was fixed when using dateCreated but effected to gmt...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35053>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list