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

WordPress Trac noreply at wordpress.org
Wed Mar 26 17:30:08 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 Viper007Bond):

 Replying to [comment:8 khromov]:
 > '''Edit'''
 > Is it possible to introduce "inclusive_before" and "inclusive_after"
 flags to cope with this?
 >
 >
 > Any other workaround available? Right now I'm doing
 >
 > {{{
 > strtotime($end_date. '+1 second');
 > }}}
 >
 > to get start date inclusive, end date exclusive...but it's not very
 pretty.

 This is a separate issue. Please open a new ticket for that suggestion.

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


More information about the wp-trac mailing list