feat: add ability to select file modified time format (#1536)

This commit is contained in:
lilihx authored and GitHub committed 2021-09-11 14:12:51 +02:00
1 parent 0358e42d2c
commit 0426629a59
6 files changed
+17 -1

No files matched your search

@@ -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 () {