Hi!.
I wrote a template condition that it’s working fine, but I would like to tweak it a little further so that it will run from last Saturday of October to the last Saturday of March instead of a fixed day. This is to detect the change from winter time to summer time.
{% set n = now() %}
{{ not (n.month == 10 and n.day >=24 or n.month == 3 and n.day <= 27) }}
Any inputs?
Thanks!
1 post - 1 participant