Added new date filter that shows the full month name.

This commit is contained in:
Mark Reid 2008-12-19 15:09:06 +11:00
parent 46d8fa0d56
commit 8d08a295ae
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ module Jekyll
date.strftime("%d %b %Y") date.strftime("%d %b %Y")
end end
def date_to_long_string(date)
date.strftime("%d %B %Y")
end
def date_to_xmlschema(date) def date_to_xmlschema(date)
date.xmlschema date.xmlschema
end end