timestamp formatting
This commit is contained in:
parent
ea997b3d36
commit
23eb7eef89
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@
|
|||
{% for row in list %}
|
||||
<article class="card">
|
||||
<div class="contents">
|
||||
<header>@ {{row['timestamp']}}</header>
|
||||
<header>@ {{row['timestamp']|format_datetime}}</header>
|
||||
<div>
|
||||
CO2: <b>{{row['co2']}}</b>
|
||||
TVOC: <b>{{row['tvoc']}}</b>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
{% for row in list %}
|
||||
<article class="card">
|
||||
<div class="contents">
|
||||
<header>@ {{row['timestamp']}}</header>
|
||||
<header>@ {{row['timestamp']|format_datetime}}</header>
|
||||
CO2: {{row['co2']}}
|
||||
TVOC: {{row['tvoc']}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue