mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add ms to parse log dates
This commit is contained in:
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
Block a user