diff --git a/a5/templates/block/index.html.j2 b/a5/templates/block/index.html.j2 index 289c202..ef93c45 100644 --- a/a5/templates/block/index.html.j2 +++ b/a5/templates/block/index.html.j2 @@ -17,7 +17,7 @@ {% for row in list %}
-
@ {{row['timestamp']}}
+
@ {{row['timestamp']|format_datetime}}
CO2: {{row['co2']}} TVOC: {{row['tvoc']}} diff --git a/a5/templates/block/measurements.html.j2 b/a5/templates/block/measurements.html.j2 index 8311752..cd17c6f 100644 --- a/a5/templates/block/measurements.html.j2 +++ b/a5/templates/block/measurements.html.j2 @@ -6,7 +6,7 @@ {% for row in list %}
-
@ {{row['timestamp']}}
+
@ {{row['timestamp']|format_datetime}}
CO2: {{row['co2']}} TVOC: {{row['tvoc']}}