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

WordPress Trac noreply at wordpress.org
Wed May 3 23:09: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:
----------------------------------------+------------------------------

Comment (by jdgrimes):

 Note that this would also fix #38940, since the server timezone would no
 longer have any affect on the behavior of `current_time()`.

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


More information about the wp-trac mailing list