diff --git a/Gemfile.lock b/Gemfile.lock index af192e2556..1130f966f8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -235,7 +235,7 @@ GEM launchy (2.4.2) addressable (~> 2.3) libv8 (3.16.14.7) - liquid (3.0.3) + liquid (3.0.6) listen (2.7.9) celluloid (>= 0.15.2) rb-fsevent (>= 0.9.3) diff --git a/app/concerns/liquid_interpolatable.rb b/app/concerns/liquid_interpolatable.rb index ee9ef7864f..c4920481ef 100644 --- a/app/concerns/liquid_interpolatable.rb +++ b/app/concerns/liquid_interpolatable.rb @@ -218,12 +218,6 @@ def regex_replace_first(input, regex, replacement = nil) input.to_s.sub(Regexp.new(regex), unescape_replacement(replacement.to_s)) end - def date(input, format) - super - rescue ArgumentError - input - end - private def logger