From 601e49dc55ab82c93d1253ba0bd7c3771dfd6ddd Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Sun, 15 Mar 2015 18:23:17 -0700 Subject: [PATCH] pretty tables --- _filters/date.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_filters/date.md b/_filters/date.md index cfc8182..627368a 100644 --- a/_filters/date.md +++ b/_filters/date.md @@ -4,9 +4,9 @@ title: date `date` converts a timestamp into another date format. -| Input | Output | -|-------------------------------------------:|:-------| -| {% raw %}`{{ article.published_at | date: "%a, %b %d, %y" }}` {% endraw %} | Tue, Apr 22, 14 | -| {% raw %}`{{ article.published_at | date: "%Y" }}` {% endraw %} | 2014 | +| Input | Output | +|--------------------------------------------------------------------------:|:---------------------| +| {% raw %}`{{ article.published_at | date: "%a, %b %d, %y" }}`{% endraw %} | Tue, Apr 22, 14 | +| {% raw %}`{{ article.published_at | date: "%Y" }}`{% endraw %} | 2014 | The format for this syntax is the same as [`strftime`](http://strftime.net/).