Didn't I try using standard Liquid filters first?

This commit is contained in:
Josh Dady 2008-12-25 10:00:46 -05:00
parent 0b089c5049
commit 340dd68ee5
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
module Jekyll
module Filters
def date_to_string(date, format="%d %b %Y")
date.strftime(format)
def date_to_string(date)
date.strftime("%d %b %Y")
end
def date_to_long_string(date)