Update ListingItem.vue
This commit is contained in:
parent
fe65d539be
commit
5bf7a74fd4
@ -106,6 +106,9 @@ export default {
|
|||||||
return filesize(this.size);
|
return filesize(this.size);
|
||||||
},
|
},
|
||||||
humanTime: function () {
|
humanTime: function () {
|
||||||
|
if (this.user.dateFormat) {
|
||||||
|
return moment(this.modified).format("L LT");
|
||||||
|
}
|
||||||
return moment(this.modified).fromNow();
|
return moment(this.modified).fromNow();
|
||||||
},
|
},
|
||||||
dragStart: function () {
|
dragStart: function () {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user