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

WordPress Trac noreply at wordpress.org
Fri Mar 24 17:52:04 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 fixed-major  |     Focuses:
------------------------------------------+----------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"40325"]:
 {{{
 #!CommitTicketReference repository="" revision="40325"
 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.

 Merges [40284] and [40324] to the 4.7 branch.
 }}}

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


More information about the wp-trac mailing list