Skip to content
Snippets Groups Projects
Commit 7ea3637d authored by Kevin Wang's avatar Kevin Wang
Browse files

use more standardized strftime formats

parent decd2d48
No related branches found
No related tags found
No related merge requests found
{%- 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" -%}
&nbsp;&middot;&nbsp;<a href="{{ SITEURL }}/{{ article.category.url }}" rel="tag">{{ article.category }}</a>
{%- endif %}
......
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