removal of translation keys already present in the gem rails-i18n
This commit is contained in:
parent
9bfd521a19
commit
25a24ba7c8
5 changed files with 8 additions and 302 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue