[wp-trac] [WordPress Trac] #57683: Improve performance of mysql2date

WordPress Trac noreply at wordpress.org
Sat Mar 11 20:45:03 UTC 2023


#57683: Improve performance of mysql2date
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Date/Time     |     Version:  0.71
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 I would prefer the strings approach from comment:15 here too. It might be
 a bit less readable at a glance, but achieves the optimization goal
 without introducing any ambiguous timezone issues, and keeps the testing
 flexibility.

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


More information about the wp-trac mailing list