feat: add ability to select file modified time format (#1536)
This commit is contained in:
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 () {
|
||||
|
||||
Reference in new issue
Block a user