aboutsummaryrefslogtreecommitdiff
path: root/webmentions_ssg/templates/status.html
diff options
context:
space:
mode:
Diffstat (limited to 'webmentions_ssg/templates/status.html')
-rw-r--r--webmentions_ssg/templates/status.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/webmentions_ssg/templates/status.html b/webmentions_ssg/templates/status.html
index a9a39b4..27821ff 100644
--- a/webmentions_ssg/templates/status.html
+++ b/webmentions_ssg/templates/status.html
@@ -44,14 +44,16 @@ SPDX-License-Identifier: BSD-3-Clause
</dd>
<dt class="col-sm-3">Received</dt>
<dd class="col-sm-9">
- <time datetime="{{ webmention.created_at.isoformat() }}">
- {{ webmention.created_at.strftime("%Y-%m-%d %H:%M:%S %Z") }}
+ <time datetime="{{ webmention.created_at | utc_isoformat }}"
+ title="{{ webmention.created_at | utc_timestamp }}">
+ {{ webmention.created_at | relative_time }}
</time>
</dd>
<dt class="col-sm-3">Last updated</dt>
<dd class="col-sm-9">
- <time datetime="{{ webmention.updated_at.isoformat() }}">
- {{ webmention.updated_at.strftime("%Y-%m-%d %H:%M:%S %Z") }}
+ <time datetime="{{ webmention.updated_at | utc_isoformat }}"
+ title="{{ webmention.updated_at | utc_timestamp }}">
+ {{ webmention.updated_at | relative_time }}
</time>
</dd>
<dt class="col-sm-3">ID</dt>