Removes jQuery timeago
This commit is contained in:
parent
3fef5e66db
commit
de8a6c874b
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue