[wp-trac] [WordPress Trac] #38342: Quick Draft: Leverage REST API endpoints
WordPress Trac
noreply at wordpress.org
Sun Feb 12 16:45:17 UTC 2017
#38342: Quick Draft: Leverage REST API endpoints
-------------------------------------+-------------------------------------
Reporter: adamsilverstein | Owner: joehoyle
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch 4.8-early | Focuses: accessibility,
needs-refresh has-unit-tests | javascript, rest-api
-------------------------------------+-------------------------------------
Comment (by jnylen0):
Replying to [comment:86 aduth]:
> there are a few revisions that need to be made to the date formatting,
particularly because it's hard to know (a) the true timezone offset of the
incoming date parameter
Tracking this enhancement at #39854.
> and (b) whether the return value should always be in the site timezone,
browser timezone, or even ad hoc offsets.
Timezones haven't been satisfactorily handled in the API in general. A
draft's `date_gmt` can be zero/null (#38883). There are major issues with
timezone conversion when creating and updating objects (#39256). Finally,
I think we should add the timezone to all date responses in the REST API
to provide some more clarity here (#39855).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38342#comment:90>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list