1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

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"> <div class="ban">
{% for telegram in telegrams %} {% for telegram in telegrams %}
<div style="padding: 10px;"> <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> <p>{{ telegram.message }}</p>
</div> </div>
<hr> <hr>