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