collection tag "is_past" and "is_before" not working #6750
Unanswered
pathly-dev
asked this question in
Troubleshooting
Replies: 2 comments 6 replies
-
are you using a dated collection? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Anyone? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there, I'm not sure if it's me not knowing how to use it or a bug.
I'm trying to filter my collection entries by date. I tried two different things:
First, I tried to only show entries where the date is in the past, like so:
But if it's true, then every entry (also with date in the future) is shown. If it's false, then nothing is shown.
I also tried with the colon before:
:release_date:is_past="true"
, not sure when to use colon and when not.Second, I tried
is_before
, like so:Is also tried
release_date:is_before="today"
,release_date:is_before="{now}"
,release_date:is_before="now"
, and same with colon::release_date:is_before="{today}"
etc. But nothing is working. It always shows everything.When I'm trying
is_after
as opposite, then nothing is shown anymore.Beta Was this translation helpful? Give feedback.
All reactions