modify moment format function for multiple languages
This commit is contained in:
parent
a2287d4e85
commit
145fe074ee
@ -107,7 +107,7 @@ export default {
|
||||
},
|
||||
humanTime: function () {
|
||||
if (this.user.dateFormat) {
|
||||
return moment(this.modified).format("YYYY-MM-DD HH:mm");
|
||||
return moment(this.modified).format("L LT");
|
||||
}
|
||||
return moment(this.modified).fromNow();
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user