Parse Twitter created_at value into friendly time format; relative time; time ago

Reply to comment

for anyone still looking for a JavaScript implementation, use can now use Twitter's twitter-cldr-js.

see the TwitterCldr.TimespanFormatter / Relative Dates and Times.

https://github.com/twitter/twitter-cldr-js