adjust invalid date error

pull/220/head^2
Pete Matsyburka 2 years ago
parent 519e6f1f79
commit a561cc5f73

@ -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

Loading…
Cancel
Save