Skip to main content
9 events
when toggle format what by license comment
Oct 10, 2014 at 18:47 comment added birgire yes I agree, it turns out that the inclusive parameter only determines if the date comparisons are using < and > (false) or <= and >= (true).
Oct 10, 2014 at 18:08 comment added helgatheviking The "inclusive" behavior still doesn't seem totally intuitive to me, but I do understand it now, so thanks for the help.
Oct 10, 2014 at 18:07 vote accept helgatheviking
Oct 10, 2014 at 16:10 comment added birgire yes because the $before and $after strings are taken through the strtotime() function in the WP_Date_Query() class.
Oct 10, 2014 at 15:57 history edited birgire CC BY-SA 3.0
added 80 characters in body
Oct 10, 2014 at 14:33 comment added helgatheviking It turns out that you can write 'before' => '2014-10-10 23:59:59 directly as the date query parameter since that is a supported date string. If you'll add that, I will accept this answer.
Oct 10, 2014 at 13:23 history edited birgire CC BY-SA 3.0
added 12 characters in body
Oct 10, 2014 at 13:17 history edited birgire CC BY-SA 3.0
added 59 characters in body
Oct 10, 2014 at 13:11 history answered birgire CC BY-SA 3.0