标签: javascript momentjs
我想知道多久以前的某个时刻(日期)。
moment.duration(moment() - date)
有效,但我认为它有点笨重。这样做有更清洁的方法吗?我可以用这样的方法延长持续时间吗?我应该吗?