BigW Consortium Gitlab

Commit de8a6c87 by Filipa Lacerda

Removes jQuery timeago

parent 3fef5e66
...@@ -130,7 +130,9 @@ ...@@ -130,7 +130,9 @@
* @returns {String} * @returns {String}
*/ */
createdDate() { createdDate() {
return $.timeago(this.model.created_at); const timeagoInstance = new timeago();
return timeagoInstance.format(this.model.created_at);
}, },
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment