aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 06:29:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 06:29:11 +0300
commit337b42d20d3c3eeedab3f7eb347bf91be335963c (patch)
tree277048efeef2b5f2c36a73a4aee48fd0a5780d74 /_includes
parentbump dependencies (diff)
downloadsorting-algorithms-337b42d20d3c3eeedab3f7eb347bf91be335963c.tar.gz
sorting-algorithms-337b42d20d3c3eeedab3f7eb347bf91be335963c.zip
don't zero-pad day number in dates
Diffstat (limited to '')
-rw-r--r--_includes/common/footer.html2
-rw-r--r--_includes/common/sidebar.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/_includes/common/footer.html b/_includes/common/footer.html
index c5c99f4..c1d80e2 100644
--- a/_includes/common/footer.html
+++ b/_includes/common/footer.html
@@ -11,7 +11,7 @@
</div>
<div style="display: table-row;">
<div style="display: table-cell;">
- <div class="text-center text-muted"><small>This version of the page was generated on {{ site.time | date_to_long_string }}.</small></div>
+ <div class="text-center text-muted"><small>This version of the page was generated on {{ site.time | date: '%-d %B %Y' }}.</small></div>
</div>
</div>
</div>
diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html
index 39ec314..991beee 100644
--- a/_includes/common/sidebar.html
+++ b/_includes/common/sidebar.html
@@ -17,7 +17,7 @@ You can examine the plots <a href="{{ site.baseurl }}/">here</a>.</p>
<div class="list-group wide-enough">
{% for post in site.posts limit: 5 %}
<a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}">
- <span class="badge"><span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date_to_string }}</span>
+ <span class="badge"><span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date: '%-d %b %Y' }}</span>
<span class="glyphicon glyphicon-file"></span>&nbsp;{{ post.title }}
</a>
{% endfor %}