setting published date to a strtime format

This commit is contained in:
mb@mb 2018-03-20 22:52:36 +01:00
parent e18ab5765c
commit db3d737faf

View File

@ -40,7 +40,7 @@
{% if article.event_start %} {% if article.event_start %}
<div>{{ article.event_start }}</div> <div>{{ article.event_start }}</div>
{% else %} {% else %}
<div>Published: {{ article.date }}</div> <div>Published: {{ article.date | strftime('%d %B %Y') }}</div>
{% endif %} {% endif %}
</div> </div>
<div class="post-info"> <div class="post-info">