I have a repeater from an ACF options page that has a date field. I can get the repeater to work in the query loop but when I add a condition to hide items after the date has passed, all of the items disappear. Here’s a screenshot of my settings. Am I doing something wrong?
Browser: Chrome 110 OS: macOS / Windows / Linux / etc. URL: Link to a page that illustrates this issue Video: Short screen recording that illustrates this issue (free tool: jam.dev)
[Please describe this bug in as much detail as possible so we can replicate & debug this bug]
It’s returning exactly what’s expected. {current_date:m-d-Y} returns today’s date 01-23-2024 and {acf_special_dates_date:m-d-Y} returns the correct date of the date field in the same format.
One thing that’s strange is if I change it to <= it shows items the items with dates in the past so that’s working correctly. Not sure why the future dates aren’t working though.
Thanks Jenn! I had already tried it without the dashes, and just tried :timestamp but it doesn’t work either. I usually compare date fields using meta query and thought it might work in a repeater as well but I guess it doesn’t.
If in this case, please provide admin access and send to help@bricksbuilder.io so we can check.
Please include this forum thread URL as a reference too.