Sha256: 3a10bcbc20acd91c93e865234e07ce347ed3190214967b666358ccdc52d38f24
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true module Edtf module Humanize module Language module Default module Century include Edtf::Humanize::Language::Default::Formats extend self def humanizer(date) "#{date.begin.year}" \ "#{I18n.t('edtf.terms.century_suffix', default: 's')}" end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
edtf-humanize-2.2.0 | lib/edtf/humanize/language/default/century.rb |