776
777
778
779
780
781
782
783
|
# File 'lib/liquid/standardfilters.rb', line 776
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
|