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

WordPress Trac noreply at wordpress.org
Sun Oct 12 21:05:17 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 magicroundabout):

 Presumably the inverse is also true. If I pass a string-formatted date
 (with no time) and set inclusive to false, the string is converted to,
 say, `2013-04-07 00:00:00` and is therefore, counter-intuitively,
 inclusive?

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


More information about the wp-trac mailing list