fix(logs): wrong date parsing (#1076)

This commit is contained in:
Rémi Marseault 2023-08-31 18:16:10 +02:00 committed by GitHub
parent ac52d213fe
commit 14a6b90547
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,7 +129,7 @@ export default defineComponent({
return LogType[log.type]
},
formatLogTimestamp(log: Log) {
return dayjs(log.timestamp * 1000).format(this.webuiSettings.dateFormat)
return dayjs(log.timestamp).format(this.webuiSettings.dateFormat)
},
async toggleSelectAll() {
if (this.logTypeFilter.length === this.logTypeOptions.length) {