{% if hourly %} {% set numSteps = hourly | calcNumEntries %} {% set currentStep = 0 %} {% set hours = hourly.slice(0, numSteps) %} {% for hour in hours %} {% if config.showPrecipitationAmount %} {% if hour.precipitationUnits %} {% else %} {% endif %} {% endif %} {% set currentStep = currentStep + 1 %} {% endfor %}
{{ hour.date | formatTime }} {{ hour.temperature | roundValue | unit("temperature") }} {{ hour.precipitation }}{{ hour.precipitationUnits }} {{ hour.precipitation | unit("precip") }}
{% else %}
{{ "LOADING" | translate }}
{% endif %}