diff --git a/templates/article_stub.html b/templates/article_stub.html index 5e88ac587b3c35a2323ec0164c6aa5edfe9b121e..518c57b6ca428d75a57256e8f5133305ca014547 100644 --- a/templates/article_stub.html +++ b/templates/article_stub.html @@ -1,6 +1,6 @@ {%- if not articles_page or first_article_of_day %} - <h4 class="date">{{ article.date.strftime("%b %e, %G") }}</h4> + <h4 class="date">{{ article.date.strftime("%b %d, %Y") }}</h4> {%- endif %} <div class="post{% if article.pinned %} pinned{% endif %}"> @@ -15,9 +15,9 @@ <div class="clear"></div> <div class="info"> {% if article.pinned -%} - <a href="{{ SITEURL }}/{{ article.url }}">posted {{ article.date.strftime("%B %e, %l:%M %P") }}</a> + <a href="{{ SITEURL }}/{{ article.url }}">posted {{ article.date.strftime("%B %d, %I:%M %Y") }}</a> {%- else -%} - <a href="{{ SITEURL }}/{{ article.url }}">posted at {{ article.date.strftime("%l:%M %P") }}</a> + <a href="{{ SITEURL }}/{{ article.url }}">posted at {{ article.date.strftime("%I:%M %Y") }}</a> {%- if article.category.name != "Uncategorized" -%} · <a href="{{ SITEURL }}/{{ article.category.url }}" rel="tag">{{ article.category }}</a> {%- endif %}