How do I calculate elapsed time since one posted as the one displayed in this post, twitter, blogs and other social media apps in JavaScript? Thank you
For further actions, you may consider blocking this person and/or reporting abuse
How do I calculate elapsed time since one posted as the one displayed in this post, twitter, blogs and other social media apps in JavaScript? Thank you
For further actions, you may consider blocking this person and/or reporting abuse
Abdelraman Ahmed -
CyprianTinasheAarons -
Suraj Vishwakarma -
websilvercraft -
Top comments (1)
Just found out that this can be done using javascript-time-ago library and react-time-ago library among many others... I'll write a blog on this here soon took me a whole 36 hrs to figure out. I feel as dumb as f