hustcc / timeago.js

:clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.
https://timeago.org
MIT License
5.32k stars 410 forks source link

timeago().render(element) not updating #250

Open elite123 opened 2 years ago

elite123 commented 2 years ago

I'm calling timeago().render(element), the time is initially updating correctly, but it doesn't automatically update without refreshing,

e.g. it stays as 8 minutes ago and never changes to 9 minutes ago, if I refresh it will update