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

WordPress Trac noreply at wordpress.org
Wed May 3 22:55:39 UTC 2017


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

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


Comment:

 I've just created #40657, which addresses one legacy feature of this
 function that wouldn't be retained when using the `DateTime` API, without
 the special handling included in the patch.

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


More information about the wp-trac mailing list