Skip to content

Commit

Permalink
fix: Revert "fix(logs): Wrong date parsing" (#1099)
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsluph authored Sep 14, 2023
1 parent 46f8c9c commit 1110bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Logs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1110bdb

Please sign in to comment.