important.html relative time

This commit is contained in:
h00j 2021-03-12 21:54:31 +01:00
parent f43b5ffbc4
commit 8002455061

View File

@ -1,7 +1,7 @@
<div class="ban">
{% for telegram in telegrams %}
<div style="padding: 10px;">
<cite>{{ telegram.created_at|date(config.post_date) }}</cite>
<cite><time datetime="{{ telegram.created_at|date('%Y-%m-%dT%H:%M:%S') }}{{ timezone() }}">{{ post.time|date(config.post_date) }}</time></cite>
<p>{{ telegram.message }}</p>
</div>
<hr>