[wp-trac] [WordPress Trac] #41011: get_calendar generates query with invalid date formats

WordPress Trac noreply at wordpress.org
Tue Sep 22 05:31:13 UTC 2020


#41011: get_calendar generates query with invalid date formats
--------------------------+-----------------------------
 Reporter:  andy          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Date/Time     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------
Changes (by markparnell):

 * keywords:   => needs-patch
 * component:  General => Date/Time
 * milestone:  Awaiting Review => Future Release


Comment:

 Thanks @andy. Some sanity checks of the provided week and month values
 would definitely be worthwhile here. I'll leave the bigger question of
 whether to rewrite the process to use PHP date calculations instead of
 MySQL to others.

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


More information about the wp-trac mailing list