[wp-trac] [WordPress Trac] #26653: Date Query "inclusive" logic

WordPress Trac noreply at wordpress.org
Fri Feb 21 22:52:33 UTC 2014


#26653: Date Query "inclusive" logic
------------------------------------+------------------
 Reporter:  mboynes                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.9
Component:  Query                   |     Version:  3.7
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------

Comment (by nacin):

 I'm not positive we should change this. I think we should look at some
 other libraries to see how they handle this. Really to get what you want,
 you should set an inclusive start and an exclusive end of 2013-03-02
 00:00:00. I am not familiar with how other libraries/ORMs handle this,
 though I do know that this is how Gmail filters work.

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


More information about the wp-trac mailing list