Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If there is a question of date formatting, then Moment.js is very good at it.
Redo? Easy:
But in fact, you do not need to remake the strings, but pass the correct date to the function that forms this string. Let's say instead of (comment_date - now) use (now - comment_date).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question