[wp-trac] [WordPress Trac] #28614: Add microtime support to current_time()
WordPress Trac
noreply at wordpress.org
Fri Jun 29 16:25:31 UTC 2018
#28614: Add microtime support to current_time()
-------------------------+-------------------------
Reporter: uuf6429 | Owner: chriscct7
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Date/Time | Version: 3.9.1
Severity: normal | Resolution: worksforme
Keywords: has-patch | Focuses:
-------------------------+-------------------------
Changes (by Rarst):
* status: reviewing => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
I am working on eliminating `timestamp` use of `current_time()` in #40657,
so now I am even more set that we shouldn't be expanding its "local" time
functionality.
WP core doesn't really operate with microtime, and if extension use cases
need it — they need to be doing it ''properly'', with sane modern DateTime
approach.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28614#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list