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

@ -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