I was looking for moment.js docs and /qaru.site / ... for using a function fromNow(), but returning everything in a clock.
What I mean:
moment([2017, 01, 05]).fromNow();
it should be
moment([2017, 01, 05]).fromNow();
I know that this can be done using .diffand, possibly, other similar functions, and then adding text, but can it be used .fromNow()for this?
source
share