is_tomorrow
Determine if a given variable's date value is tomorrow or not.
Determine if a given variable’s date value is tomorrow or not. Works with variables whose value can be converted to a date.
Sample Usage
{{ if party_date|is_tomorrow }}
The party is tomorrow!
{{ endif }}
This will output a string if the date value of party_date
is tomorrow.
Parameters
This modifier has no parameters.