mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-20 11:20:41 -07:00
Properly rescue ::ArgumentError in the date filter
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ module Liquid
|
||||
when String
|
||||
Time.parse(obj)
|
||||
end
|
||||
rescue ArgumentError
|
||||
rescue ::ArgumentError
|
||||
nil
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user