Skip to content

Best way to check for date not in past #4352

Answered by duncanmcclean
ronvdc asked this question in Q&A
Discussion options

You must be logged in to vote

Does this work?

{{ if {tour_date | is_future} || {tour_date | is_today} }}

I've not tested it so could be completely off but worth a try? 😅

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ronvdc
Comment options

Answer selected by ronvdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants