Change timezone of news on main page to local timezone

This commit is contained in:
Techan 2014-04-01 21:14:12 +02:00 committed by czaks
parent 4cc8a0a8b0
commit 9e2b722db6

View File

@ -29,7 +29,7 @@
{% else %} {% else %}
<em>no subject</em> <em>no subject</em>
{% endif %} {% endif %}
<span class="unimportant"> &mdash; by {{ entry.name }} at {{ entry.time|date(config.post_date) }}</span> <span class="unimportant"> &mdash; by {{ entry.name }} at {{ entry.time|date(config.post_date, config.timezone) }}</span>
</h2> </h2>
<p>{{ entry.body }}</p> <p>{{ entry.body }}</p>
{% endfor %} {% endfor %}