[wp-trac] [WordPress Trac] #37440: current_time function outputs local time when it should output GMT time

WordPress Trac noreply at wordpress.org
Fri Jun 29 13:40:47 UTC 2018


#37440: current_time function outputs local time when it should output GMT time
--------------------------+------------------------------
 Reporter:  bynicolas     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:  4.5.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by Rarst):

 * Attachment "trac-37440.diff" added.

 Change to gmdate() in implementation with a unit test.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37440>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list