[wp-trac] [WordPress Trac] #40653: Use PHP `DateTime` class API in `current_time()`

WordPress Trac noreply at wordpress.org
Thu Jun 6 15:59:28 UTC 2019


#40653: Use PHP `DateTime` class API in `current_time()`
--------------------------------------+-----------------------------
 Reporter:  jdgrimes                  |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.3
Component:  Date/Time                 |     Version:  1.0
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by Rarst):

 * Attachment "current-time2.patch" added.

 Made timestamp always int and added to unit test.

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


More information about the wp-trac mailing list