diff --git a/app/helpers/embed_helper.rb b/app/helpers/embed_helper.rb index 5e133167fbf..42db197c115 100644 --- a/app/helpers/embed_helper.rb +++ b/app/helpers/embed_helper.rb @@ -8,9 +8,9 @@ module EmbedHelper distance_of_time_in_words(dt, current) else if dt.year == current.year - dt.strftime("%e %b") + dt.strftime I18n.t("datetime_formats.formats.short_no_year") else - dt.strftime("%b '%y") + dt.strftime I18n.t("datetime_formats.formats.no_day") end end end