Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {# domenica - 0#}
- {% if (now().timestamp() | timestamp_custom('%w')) == '0' %}
- {# 22:00 / 23.59 - Umido #}
- {% if (now().timestamp() | timestamp_custom('%H')) >= '22' and (now().timestamp() | timestamp_custom('%H')) <= '23'%}
- Umido
- {# Fuori orario #}
- {% else %}
- Niente
- {% endif %}
- {# lunedì - 1#}
- {% elif (now().timestamp() | timestamp_custom('%w')) == '1' %}
- {# 00:00 / 05:59 - Umido #}
- {% if (now().timestamp() | timestamp_custom('%H')) >= '00' and (now().timestamp() | timestamp_custom('%H')) <= '05' %}
- Umido
- {# 22:00 / 23.59 - Residuo #}
- {% elif (now().timestamp() | timestamp_custom('%H')) >= '22' and (now().timestamp() | timestamp_custom('%H')) <= '23' %}
- Residuo
- {# Fuori orario #}
- {% else %}
- Niente
- {% endif %}
- {# martedì - 2#}
- {% elif (now().timestamp() | timestamp_custom('%w')) == '2' %}
- {# 00:00 / 05:59 - Residuo #}
- {% if (now().timestamp() | timestamp_custom('%H')) >= '00' and (now().timestamp() | timestamp_custom('%H')) <= '05' %}
- Residuo
- {# 22:00 / 23.59 - Umido #}
- {% elif (now().timestamp() | timestamp_custom('%H')) >= '22' and (now().timestamp() | timestamp_custom('%H')) <= '23' %}
- Umido
- {# Fuori orario #}
- {% else %}
- Niente
- {% endif %}
- {# mercoledì- 3#}
- {% elif (now().timestamp() | timestamp_custom('%w')) == '3' %}
- {# 00:00 / 05:59 - Umido #}
- {% if (now().timestamp() | timestamp_custom('%H')) >= '00' and (now().timestamp() | timestamp_custom('%H')) <= '05' %}
- Umido
- {# 19:00 / 22:59 - Plastica e Lattine #}
- {% elif (now().timestamp() | timestamp_custom('%H')) >= '19' and (now().timestamp() | timestamp_custom('%H')) <= '22' %}
- Plastica e lattine
- {# Fuori orario #}
- {% else %}
- Niente
- {% endif %}
- {# giovedì- 4#}
- {% elif (now().timestamp() | timestamp_custom('%w')) == '4' %}
- {# 22:00 / 23:59 - Residuo #}
- {% if (now().timestamp() | timestamp_custom('%H')) >= '22' and (now().timestamp() | timestamp_custom('%H')) <= '23' %}
- Residuo
- {# Fuori orario #}
- {% else %}
- Niente
- {% endif %}
- {# venerdì- 5#}
- {% elif (now().timestamp() | timestamp_custom('%w')) == '5' %}
- {# 00:00 / 05:59 - Umido #}
- {% if (now().timestamp() | timestamp_custom('%H')) >= '00' and (now().timestamp() | timestamp_custom('%H')) <= '05' %}
- Umido
- {# 08:00 / 11:59 - Cartone #}
- {% elif (now().timestamp() | timestamp_custom('%H')) >= '08' and (now().timestamp() | timestamp_custom('%H')) <= '11' %}
- Cartone
- {# 22:00 / 23:59 - Residuo #}
- {% elif (now().timestamp() | timestamp_custom('%H')) >= '22' and (now().timestamp() | timestamp_custom('%H')) <= '23' %}
- Residuo
- {# Fuori orario #}
- {% else %}
- Niente
- {% endif %}
- {# sabato- 6#}
- {% elif (now().timestamp() | timestamp_custom('%w')) == '6' %}
- {# 00:00 / 05:59 - Residuo #}
- {% if (now().timestamp() | timestamp_custom('%H')) >= '00' and (now().timestamp() | timestamp_custom('%H')) <= '05' %}
- Residuo
- {# 08:00 / 11:59 - Vetro #}
- {% elif (now().timestamp() | timestamp_custom('%H')) >= '08' and (now().timestamp() | timestamp_custom('%H')) <= '11' %}
- Vetro
- {# Fuori orario #}
- {% else %}
- Niente
- {% endif %}
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement