[wp-trac] [WordPress Trac] #26653: Date Query "inclusive" logic
WordPress Trac
noreply at wordpress.org
Sat Mar 1 10:44:44 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 oso96_2000):
Replying to [comment:8 khromov]:
> This is a huge issue. It doesn't make sense that the default is
exclusive both before and after. The edge case of midnight will result in
a posts not being shown if you have two queries select from "day 1 to day
2" and "day 2 to day 3", and the inclusive case will make it show twice.
Care to post an example of your query? I can search for a solution or an
alternative
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26653#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list