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 basically with a ‘daily’ precision.
I tried using the
moment().calendar() function, it doesn’t format if the date difference is more than 1 day
- This topic has 4 replies, 2 voices, and was last updated 2 years, 1 month ago.
You must be logged in to reply to this topic.