From 8d08a295aebc95250e1e57cde5691fc59a695064 Mon Sep 17 00:00:00 2001 From: Mark Reid Date: Fri, 19 Dec 2008 15:09:06 +1100 Subject: [PATCH] Added new date filter that shows the full month name. --- lib/jekyll/filters.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/jekyll/filters.rb b/lib/jekyll/filters.rb index 087a0c98..6051626a 100644 --- a/lib/jekyll/filters.rb +++ b/lib/jekyll/filters.rb @@ -4,6 +4,10 @@ module Jekyll def date_to_string(date) date.strftime("%d %b %Y") end + + def date_to_long_string(date) + date.strftime("%d %B %Y") + end def date_to_xmlschema(date) date.xmlschema