[wp-trac] [WordPress Trac] #26653: Date Query "inclusive" logic
WordPress Trac
noreply at wordpress.org
Fri Feb 28 00:23:23 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 khromov):
This is a huge issue. It doesn't make sense that "inclusive" is on both
before and after, since the edge case of midnight will result in a post
being shown twice if you have two queries select from "day 1 to day 2" and
"day 2 to day 3".
Is there a workaround that we can use for now? I tried changing the
"compare" flag, but that does nothing. "compare" flag should override the
behaviour imho.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26653#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list