Format air temperature and time values in template.
[chrisu/seepark.git] / web / templates / seepark_web.html
index 7715013e18ab98dba9fd3617eb75dddccf162a9c..2fccfd6ba030e78be45265bbf5e82cdf4886ef4b 100644 (file)
@@ -29,8 +29,8 @@
                        {% if airvalue is none %}
                        <strong>Luft: N/A</strong>
                        {% else %}
-                       <strong>Luft: {{ airvalue }}°C</strong><br />
-                       <small>({{ airtime }})</small>
+                       <strong>Luft: {{ airvalue|round(1) }}°C</strong><br />
+                       <small>({{ airtime.strftime('%Y-%m-%d %H:%M') }})</small>
                        {% endif %}
                </p>
                <p id="currentwater">