[wp-trac] [WordPress Trac] #39072: Add gmt_offset as a REST API setting
WordPress Trac
noreply at wordpress.org
Tue Jul 9 18:44:05 UTC 2019
#39072: Add gmt_offset as a REST API setting
------------------------------------------+-----------------------------
Reporter: jshreve | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-patch | Focuses: rest-api
------------------------------------------+-----------------------------
Comment (by Rarst):
From the perspective of Date/Time component: **absolutely do not add more
`gmt_offset` operations**. Among many things it doesn't account for summer
time (!) when based on `timezone_string`. We have some huge pending fixes
for that at the moment.
You do not want to ever have to use `gmt_offset` for anything and it's
very unfortunate that we are not in practical position to drop it (or even
further discourage) altogether.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39072#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list