Add ms to parse log dates

pull/4218/head
Chocobozzz 2021-06-29 15:22:12 +02:00
parent fa1e07ca54
commit ed76401ecd
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ function toTimeFormat (time: string) {
if (isNaN(timestamp) === true) return 'Unknown date'
return new Date(timestamp).toLocaleString()
const d = new Date(timestamp)
return d.toLocaleString() + `.${d.getMilliseconds()}`
}
function containsTags (loggerTags: string[], optionsTags: string[]) {