[wp-trac] [WordPress Trac] #28614: Add microtime support to current_time()

WordPress Trac noreply at wordpress.org
Tue Jun 26 12:07:06 UTC 2018


#28614: Add microtime support to current_time()
-------------------------+------------------------------
 Reporter:  uuf6429      |       Owner:  chriscct7
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Date/Time    |     Version:  3.9.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by Rarst):

 `current_time()` is a complete disaster (as most things that juggle manual
 time zone offsets).

 The concept of "WordPress timestamp" with time zone offset is deeply
 problematic and we should be moving towards dropping it completely.
 Expanding functionality that relies on it is just makes that harder.

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


More information about the wp-trac mailing list