diff --git a/lib/jekyll/filters.rb b/lib/jekyll/filters.rb index 6051626a..f3cd8470 100644 --- a/lib/jekyll/filters.rb +++ b/lib/jekyll/filters.rb @@ -9,6 +9,10 @@ module Jekyll date.strftime("%d %B %Y") end + def strftime(date, format = '%x') + date.strftime(format) + end + def date_to_xmlschema(date) date.xmlschema end