adjust invalid date error
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ module TimeUtils
|
|||||||
|
|
||||||
I18n.l(date, format: i18n_format, locale:)
|
I18n.l(date, format: i18n_format, locale:)
|
||||||
rescue Date::Error => e
|
rescue Date::Error => e
|
||||||
Rollbar.warning(e) if defined?(Rollbar)
|
Rollbar.warning("#{e}: #{string}") if defined?(Rollbar)
|
||||||
|
|
||||||
string
|
string
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user