From 966edd8f92c69eef6abc61a72b34c006f00a9e26 Mon Sep 17 00:00:00 2001 From: 4cuck <40539855+4cuck@users.noreply.github.com> Date: Mon, 16 Oct 2023 20:17:04 +0200 Subject: [PATCH] shorten last-seen-healthy entries --- server/templates/about.html.j2 | 1 + server/templates/instances.html.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/templates/about.html.j2 b/server/templates/about.html.j2 index 16a3b1d..4fdfcb9 100644 --- a/server/templates/about.html.j2 +++ b/server/templates/about.html.j2 @@ -32,6 +32,7 @@
  • Average Time is the response time average over the last {{ping_avg_interval_h}} hours. This is not a network ping.
  • All Time % for all time percentage of the instance being healthy.
  • RSS whether the host has RSS feeds enabled.
  • +
  • LSH Last Seen Healthy, for the last time an instance was seen healthy.
  • Nitter Version which nitter version the host reports.
  • Connectivity the IP connectivity support. One of All, IPv4, IPv6
  • Points is a weighted instance score based on the availability over the last 3h, 30 and 120 days, together with the version.
  • diff --git a/server/templates/instances.html.j2 b/server/templates/instances.html.j2 index 4dce2dc..6f03088 100644 --- a/server/templates/instances.html.j2 +++ b/server/templates/instances.html.j2 @@ -75,7 +75,7 @@ {%- else -%} {# #} {%- if host.last_healthy -%} - Last seen healthy: {{host.last_healthy | truncate(length=16, end="") | replace(from="-", to=".") | replace(from="T", to=" ")}} + LSH: {{host.last_healthy | truncate(length=16, end="") | replace(from="-", to=".") | replace(from="T", to=" ")}} UTC {%- else -%} Never seen healthy.