Sha256: 6511e4841d9f9e4b707a352494bcf89fbbdd2c0a8f78a200aea23e2f29ba1b51
Contents?: true
Size: 312 Bytes
Versions: 248
Compression:
Stored size: 312 Bytes
Contents
module Katello module TranslationHelper def relative_time_in_words(time) _("%s ago") % time_ago_in_words(time) end def months t('date.month_names') end def month(i) return '' unless i i = i.to_time.month if i.respond_to? :to_time months[i] end end end
Version data entries
248 entries across 248 versions & 1 rubygems