in_past
Determine if a given variable's date value is in the past or not.
Determine if a given variable’s date value is in the past or not. Works with variables whose value can be converted to a date.
Sample Usage
{{ if party_date|in_past }}
Sorry, you missed the party.
{{ endif }}
This will output a string if the date value of party_date
is in the past.
Parameters
This modifier has no parameters.