[wp-trac] [WordPress Trac] #40136: REST API: Issues with dates and DST

WordPress Trac noreply at wordpress.org
Fri Mar 24 17:31:56 UTC 2017


#40136: REST API: Issues with dates and DST
------------------------------+----------------------
 Reporter:  afercia           |       Owner:  jnylen0
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7.4
Component:  REST API          |     Version:  4.7.3
 Severity:  major             |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by swissspidy):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40324"]:
 {{{
 #!CommitTicketReference repository="" revision="40324"
 REST API: Use `get_gmt_from_date()` when preparing a draft post for
 response.

 This prevents wrong dates when dealing with DST, see [40115] and [40284].

 Props nerrad.
 Fixes #40136.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40136#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list