[wp-trac] [WordPress Trac] #29908: date_query inclusive logic still not quite right

WordPress Trac noreply at wordpress.org
Sun Oct 12 21:00:35 UTC 2014


#29908: date_query inclusive logic still not quite right
-----------------------------+-----------------------------
 Reporter:  magicroundabout  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Query            |     Version:  4.0
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+-----------------------------

Comment (by nacin):

 It would probably be easier if it generated this instead:
 {{{
 AND ( ( post_date >= '2013-04-07 00:00:00'
 AND post_date < '2013-10-14 00:00:00' ) )
 }}}

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


More information about the wp-trac mailing list