Update ListingItem.vue

This commit is contained in:
niubility000 2021-09-21 23:32:55 +08:00 committed by GitHub
parent fe65d539be
commit 5bf7a74fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,9 @@ export default {
return filesize(this.size);
},
humanTime: function () {
if (this.user.dateFormat) {
return moment(this.modified).format("L LT");
}
return moment(this.modified).fromNow();
},
dragStart: function () {