I\'d like the moment().fromNow() functionality, but when the date is close it is too precise - ex. I don\'t want it to show \'in 3 hours\' but \'today\' - so basica
moment().fromNow()
const date = moment(YOUR_DATE) return (moment().diff(date, 'days') >= 2) ? date.fromNow() : date.calendar().split(' ')[0]