From 337b42d20d3c3eeedab3f7eb347bf91be335963c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 18 Feb 2018 06:29:11 +0300 Subject: don't zero-pad day number in dates --- _includes/common/footer.html | 2 +- _includes/common/sidebar.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '_includes') 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 @@
-
This version of the page was generated on {{ site.time | date_to_long_string }}.
+
This version of the page was generated on {{ site.time | date: '%-d %B %Y' }}.
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 here.

{% for post in site.posts limit: 5 %} -  {{ post.date | date_to_string }} +  {{ post.date | date: '%-d %b %Y' }}  {{ post.title }} {% endfor %} -- cgit v1.2.3