[wp-trac] [WordPress Trac] #42542: Simplify mysql_to_rfc3339() and document RFC3339 incompatibility

WordPress Trac noreply at wordpress.org
Tue Jun 26 18:01:01 UTC 2018


#42542: Simplify mysql_to_rfc3339() and document RFC3339 incompatibility
-------------------------+-----------------------------
 Reporter:  Rarst        |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.0
Component:  Date/Time    |     Version:  4.4
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"43384" 43384]:
 {{{
 #!CommitTicketReference repository="" revision="43384"
 Date/Time: Simplify `mysql_to_rfc3339()`.

 Erasing timezone with a regular expression is redundant, the date could be
 just formatted in the respective format instead.

 Props Rarst.
 Fixes #42542.
 }}}

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


More information about the wp-trac mailing list