[wp-trac] [WordPress Trac] #28636: Add functions for working with local dates and times

WordPress Trac noreply at wordpress.org
Thu Aug 29 11:57:52 UTC 2019


#28636: Add functions for working with local dates and times
-------------------------+-----------------------------
 Reporter:  mboynes      |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  5.3
Component:  Date/Time    |     Version:  2.9
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------

Comment (by Rarst):

 Went with `false` for `wp_date()` since I'd rather have more predictable,
 less implicit, more consistent with PHP behavior from cleanly designed
 function.

 Added unit tests for invalid input in both functions.

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


More information about the wp-trac mailing list