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

WordPress Trac noreply at wordpress.org
Tue May 28 11:20:36 UTC 2019


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

 * keywords:  needs-unit-tests needs-patch => has-patch has-unit-tests


Comment:

 Added patch and unit tests with logic suggested above. Needs
 `wp_timezone()` from #24730 merged first.

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


More information about the wp-trac mailing list