removal of translation keys already present in the gem rails-i18n

This commit is contained in:
Judith 2020-08-31 13:47:27 +02:00
parent 9bfd521a19
commit 25a24ba7c8
5 changed files with 8 additions and 302 deletions

View file

@ -140,7 +140,7 @@ module ApplicationHelper
end
def try_format_date(date)
date.present? ? I18n.l(date) : ''
date.present? ? I18n.l(date, format: :long) : ''
end
def try_format_datetime(datetime)