in_future
Determine if a given variable's date value is in the future or not.
Determine if a given variable’s date value is in the future or not. Works with variables whose value can be converted to a date.
Sample Usage
{{ if party_date|in_future }}
Get ready, we're going to party soon.
{{ endif }}
This will output a string if the date value of party_date
is in the future.
Parameters
This modifier has no parameters.