diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-12-16 01:55:44 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-12-16 02:10:00 +0100 |
commit | 97732b1926746040373e803c3d7b9c43939aa6e6 (patch) | |
tree | 563004b2d8da40254fab80b17ce60be961568c26 /lib/rbot/message.rb | |
parent | fd83bd02e2b82457e0a49214e075173505ebe994 (diff) |
utils.rb: Utils.age_string to replace distance_of_time_in_words
We define a new age_string function which is a cleaner version of
distance_of_time_in_words. The latter gets removed as its only
in-tree usage was from timeago (which is the UI version that should
be used by plugins anyway).
Utils.timeago gets a revamp too, exploiting the new age_string function.
Diffstat (limited to 'lib/rbot/message.rb')
0 files changed, 0 insertions, 0 deletions