diff options
Diffstat (limited to 'webmentions_ssg/templates/sent.html')
| -rw-r--r-- | webmentions_ssg/templates/sent.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/webmentions_ssg/templates/sent.html b/webmentions_ssg/templates/sent.html index d949f01..d2a319d 100644 --- a/webmentions_ssg/templates/sent.html +++ b/webmentions_ssg/templates/sent.html @@ -58,13 +58,15 @@ SPDX-License-Identifier: BSD-3-Clause <td>{{ source.sent_webmentions | length }}</td> <td class="d-none d-md-table-cell">{{ source.revision }}</td> <td class="text-nowrap d-none d-md-table-cell"> - <time datetime="{{ source.created_at.isoformat() }}"> - {{ source.created_at.strftime("%Y-%m-%d %H:%M:%S") }} + <time datetime="{{ source.created_at | utc_isoformat }}" + title="{{ source.created_at | utc_timestamp }}"> + {{ source.created_at | relative_time }} </time> </td> <td class="text-nowrap d-none d-md-table-cell"> - <time datetime="{{ source.last_seen_at.isoformat() }}"> - {{ source.last_seen_at.strftime("%Y-%m-%d %H:%M:%S") }} + <time datetime="{{ source.last_seen_at | utc_isoformat }}" + title="{{ source.last_seen_at | utc_timestamp }}"> + {{ source.last_seen_at | relative_time }} </time> </td> <td> |
