[wp-trac] [WordPress Trac] #40136: Failing rest-api test test_empty_post_date_gmt_shimmed_using_post_date

WordPress Trac noreply at wordpress.org
Mon Mar 13 15:06:11 UTC 2017


#40136: Failing rest-api test test_empty_post_date_gmt_shimmed_using_post_date
--------------------------+------------------------------
 Reporter:  afercia       |       Owner:  jnylen0
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by jnylen0):

 * owner:   => jnylen0
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40284"]:
 {{{
 #!CommitTicketReference repository="" revision="40284"
 REST API: Fix DST handling in a test.

 The time chosen for `test_empty_post_date_gmt_shimmed_using_post_date`
 falls within US daylight savings time.  This may cause the test to fail
 depending on whether the current locale has DST.

 The fix is to specify a numeric `gmt_offset` rather than a
 `timezone_string`.

 Unprops jnylen0.
 Fixes #40136.
 }}}

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


More information about the wp-trac mailing list