display time for last-seen

This commit is contained in:
4cuck committed 2023-10-16 23:32:09 +02:00
1 parent 8c6109c1d7
commit 96536eb5fd
1 file changed
+2 -1
+2 -1
View File
@@ -82,7 +82,8 @@
{%- else -%}
{# <!-- no healthy entries, show last time host was seen healthy --> #}
{%- if host.last_healthy -%}
Last seen healthy: {{host.last_healthy | truncate(length=10, end="") | replace(from="-", to=".")}}
Last seen healthy: {{host.last_healthy | truncate(length=16, end="") | replace(from="-", to=".") | replace(from="T", to=" ")}}
<a rel="nofollow" href="https://time.is/UTC">UTC</a>
{%- else -%}
Never seen healthy.
{%- endif -%}