Skip to content
Snippets Groups Projects
Commit fa46a802 authored by william light's avatar william light
Browse files

Merge pull request #5 from kevmo314/master

use more standardized strftime formats
parents decd2d48 7ea3637d
Branches
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.
Please register or to comment