fix: Revert "fix(logs): Wrong date parsing" (#1099)

This commit is contained in:
Rémi Marseault 2023-09-14 16:52:53 +02:00 committed by GitHub
parent 46f8c9c23c
commit 1110bdb8b7
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).format(this.webuiSettings.dateFormat)
return dayjs.unix(log.timestamp).format(this.webuiSettings.dateFormat)
},
async toggleSelectAll() {
if (this.logTypeFilter.length === this.logTypeOptions.length) {