2013-02-05 13:16:51 -06:00
|
|
|
module AgeWords
|
|
|
|
|
|
|
|
def self.age_words(secs)
|
|
|
|
return "—" if secs.blank?
|
2013-03-07 13:05:18 -06:00
|
|
|
return FreedomPatches::Rails4.distance_of_time_in_words(Time.now, Time.now + secs)
|
2013-02-05 13:16:51 -06:00
|
|
|
end
|
|
|
|
|
2013-03-13 02:05:21 -05:00
|
|
|
end
|