Skip to content
Snippets Groups Projects
Commit 08575a3f authored by Emmanuel Godard's avatar Emmanuel Godard
Browse files

utcnow()

parent ff3cda84
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<ul>
{% for article in articles_page.object_list %}
<li>
{% if article.date >= now() %}
{% if article.date >= article.date.utcnow() %}
<h1><time datetime="{{ article.date }}">{{ article.date|strftime('%b %d, %Y') }}</time></h1>
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">{{ article.title }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment