Full threadanonfunction·I also have a micro-library[1] that deals with dates, and it's also much faster than momentjs[2].1. https://github.com/montanaflynn/human-date2. http://jsperf.com/human-date-vs-momentjsView on HN