class R18n::Locales::It

Italian locale

Public Instance Methods

format_date_full(date, year: true, **_kwargs) click to toggle source
Calls superclass method R18n::Locale#format_date_full
# File lib/r18n-core/locales/it.rb, line 27
def format_date_full(date, year: true, **_kwargs)
  full = super(date, year: year)
  if full[0..1] == '1 '
    "1ยบ#{full[1..-1]}"
  else
    full
  end
end