Browse Source

Use locale_date as defined in the conf, instead of modifying date format with strftime

Talha Mansoor 11 years ago
parent
commit
72c175840d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/categories.html

+ 1 - 1
templates/categories.html

@@ -34,7 +34,7 @@ All Categories - {{ super() }}
                     <div class="accordion-inner">
                         <ul class="list-articles-category">
                             {% for article in articles %} 
-                            <li><span>{{ article.date.strftime('%b %d, %Y') }}</span> <a href="{{ article.url }}">{{ article.title }}</a></li>
+                            <li><span>{{ article.locale_date }}</span> <a href="{{ article.url }}">{{ article.title }}</a></li>
                             {% endfor %}
                         </ul>
                     </div>