You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 22, 2020. It is now read-only.
I just whipped this up for a personal project using RiotJS and I thought you guys might find it useful. Apologies for not taking the time to fork the repo and such, I'm normally a backend guy so it's kind of daunting. I may do just that if I get some more free time this weekend.
I'm thinking create a <rg-moment> tag that essentially wraps the majority of the moment API - as far as moment dependency is concerned its fine to depend on a separate library.
Ah, sorry hit post on accident! Updating...
I just whipped this up for a personal project using RiotJS and I thought you guys might find it useful. Apologies for not taking the time to fork the repo and such, I'm normally a backend guy so it's kind of daunting. I may do just that if I get some more free time this weekend.
Usage:
<time-ago timestamp="2015-11-27T04:02:30.935205+00:00"></time-ago>
Example output:
5m ago
The text was updated successfully, but these errors were encountered: