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

WordPress Trac noreply at wordpress.org
Thu Aug 29 10:33:46 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:
-------------------------+-----------------------------
Changes (by Rarst):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I have lost a bit of behavior where invalid input would result in current
 time (consistent with upstream PHP `date()`.

 Added patch to restore behavior in `date_i18n()` and made `wp_date()`
 implementation consistent.

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


More information about the wp-trac mailing list