{% if forecast %} {% set numSteps = forecast | calcNumSteps %} {% set currentStep = 0 %} {% if config.ignoreToday %} {% set forecast = forecast.splice(1) %} {% endif %} {% set forecast = forecast.slice(0, numSteps) %} {% for f in forecast %} {% if (currentStep == 0) and config.ignoreToday == false and config.absoluteDates == false %} {% elif (currentStep == 1) and config.ignoreToday == false and config.absoluteDates == false %} {% else %} {% endif %} {% if config.showPrecipitationAmount %} {% endif %} {% if config.showPrecipitationProbability %} {% endif %} {% if config.showUVIndex %} {% endif %} {% set currentStep = currentStep + 1 %} {% endfor %}
{{ "TODAY" | translate }}{{ "TOMORROW" | translate }}{{ f.date.format('ddd') }} {{ f.maxTemperature | roundValue | unit("temperature") | decimalSymbol }} {{ f.minTemperature | roundValue | unit("temperature") | decimalSymbol }} {{ f.precipitationAmount | unit("precip", f.precipitationUnits) }} {{ f.precipitationProbability | unit("precip", "%") }} {{ f.uv_index }}
{% else %}
{{ "LOADING" | translate }}
{% endif %}