diff --git a/app/mailers/user_notifications.rb b/app/mailers/user_notifications.rb index 438e63f6f30..52e91f644da 100644 --- a/app/mailers/user_notifications.rb +++ b/app/mailers/user_notifications.rb @@ -41,11 +41,8 @@ class UserNotifications < ActionMailer::Base build_email( user.email, template: "user_notifications.account_created", email_token: opts[:email_token]) end - # On error, use english def short_date(dt) I18n.l(dt, format: :short) - rescue I18n::MissingTranslationData - I18n.l(dt, format: :short, locale: 'en') end def digest(user, opts={})