From 23eb7eef8907dacf99862da2b9b08aa8fdebfd17 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Sat, 14 Mar 2026 19:45:22 +0100 Subject: [PATCH] timestamp formatting --- a5/templates/block/index.html.j2 | 2 +- a5/templates/block/measurements.html.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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']}}