]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/parse-log.ts
Postgresql-setup init option for auth-host (#4253)
[github/Chocobozzz/PeerTube.git] / scripts / parse-log.ts
index fca288dbd8f7dc317defe7d36b9c17caeb12790d..c1650358923010a3594aae5dffb6a9f0264a63e5 100755 (executable)
@@ -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[]) {