[wp-trac] [WordPress Trac] #20328: get_date_from_gmt assumes current gmt_offset is appropriate

WordPress Trac noreply at wordpress.org
Tue Mar 5 15:45:49 UTC 2013


#20328: get_date_from_gmt assumes current gmt_offset is appropriate
---------------------------+------------------------------
 Reporter:  scottconnerly  |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Date/Time      |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------

Comment (by nacin):

 In [changeset:"1233/tests"]:
 {{{
 #!CommitTicketReference repository="tests" revision="1233"
 Add tests for get_date_from_gmt() and get_gmt_from_date().

 These tests demonstrate that get_date_from_gmt() is ignorant of DST
 settings.

 props scholesmafia.
 see #20328.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20328#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list