754
755
756
757
758
759
760
761
|
# File 'lib/liquid/standardfilters.rb', line 754
def date(input, format)
str_format = Utils.to_s(format)
return input if str_format.empty?
return input unless (date = Utils.to_date(input))
date.strftime(str_format)
end
|