JeffPeterson1
11 months agoQrew Captain
Pipelines Jinja Expression for Day of Week
I'm trying to figure out this expression that would return TRUE If the current day is not sunday but I'm having some trouble with the jinja here.
{% if (now | weekday) != 6 %}
{#TRUE if The current day is NOT Sunday#}
{% endif %}
I know that first line is wrong, but I'm not clear on what the correct syntax should be. Anyone have any idea?
------------------------------
Jeff Peterson
------------------------------