aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates/dashboard.html
diff options
context:
space:
mode:
Diffstat (limited to 'webmentions_ssg/templates/dashboard.html')
-rw-r--r--webmentions_ssg/templates/dashboard.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/webmentions_ssg/templates/dashboard.html b/webmentions_ssg/templates/dashboard.html
index 70e2bf0..b020d46 100644
--- a/webmentions_ssg/templates/dashboard.html
+++ b/webmentions_ssg/templates/dashboard.html
@@ -118,8 +118,10 @@ SPDX-License-Identifier: BSD-3-Clause
<div class="card-body">
<h3 class="h6 text-body-secondary">Last completed source scan</h3>
{% if last_scan %}
- <time datetime="{{ last_scan.isoformat() }}" class="fs-5">
- {{ last_scan.strftime("%Y-%m-%d %H:%M:%S") }} UTC
+ <time datetime="{{ last_scan | utc_isoformat }}"
+ class="fs-5"
+ title="{{ last_scan | utc_timestamp }}">
+ {{ last_scan | relative_time }}
</time>
{% else %}
<p class="text-body-secondary mb-0">No completed scan yet</p>