1 2 3 4
distanceOfTimeInWords: function(to, from) { seconds_ago = ((to - from) / 1000); minutes_ago = Math.floor(seconds_ago / 60); ...
Ruby On How to make time_ago_in_wor...
by makenai,
April 10, 2008 21:54
1 2 3 4
distanceOfTimeInWords: function(to, from) { seconds_ago = ((to - from) / 1000); minutes_ago = Math.floor(seconds_ago / 60); ...
In the rails version the nu...