mattbradley / livestampjs

A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js.
http://mattbradley.github.com/livestampjs
MIT License
409 stars 70 forks source link

[question] convert to full timeago "x years, y months, z days ago" not only "years/months/days" ago #35

Closed flashios09 closed 9 years ago

flashios09 commented 9 years ago

Hi, Thanks @adjohnson916 for this awesome jquery plugin :+1: Sorry for my bad english :(

Is it possible to convert a datetime to full timeago like this 2015-01-25 03:37:46 to "2 months, one day, 5 hours and 10 minutes ago"

now it only convert 2015-01-25 03:37:46 to "2 months ago"

Thanks

AndersDJohnson commented 9 years ago

@flashios09 - It's not my plugin, it's primarily @mattbradley's!

We rely on Moment.js for this functionality (moment#fromNow), and it looks like they don't support this. So could instead file an issue there and let us know?

Thanks!