mirror of https://github.com/Chocobozzz/PeerTube
Add ms to parse log dates
parent
fa1e07ca54
commit
ed76401ecd
|
@ -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[]) {
|
||||
|
|
Loading…
Reference in New Issue