Commit 11e62a05 authored by fred's avatar fred
Browse files

display year in news date

parent 5f785182
......@@ -8,7 +8,7 @@
<div class="leftPart">
<header>
{% if newsitem.date %}
<div class="date cf center label">{{ newsitem.date|date:"D m/M" }}</div>
<div class="date cf center label">{{ newsitem.date|date:"D m M Y" }}</div>
{% endif %}
<h3 class="squashed title">
{{ newsitem.title }}
......
......@@ -12,7 +12,7 @@
{% endif %}
</div>
{% if content.date %}
<div class="smooth {% if class == "special" %}center marged {% endif %}">{{ content.date|date:"D m/M"|lower }}</div>
<div class="smooth {% if class == "special" %}center marged {% endif %}">{{ content.date|date:"D m M Y"|lower }}</div>
{% endif %}
<div class="content">
<h5 class="title {% if not class %}ellipsis{% endif %}">{{ content.title }}</h5>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment