X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fparse-log.ts;h=c1650358923010a3594aae5dffb6a9f0264a63e5;hb=39072b2f6ae04d2037ef2cb678ce9c352a370278;hp=fca288dbd8f7dc317defe7d36b9c17caeb12790d;hpb=8cc6120118a9fb75b3165c9f84b2d0068d1ade72;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts index fca288dbd..c16503589 100755 --- a/scripts/parse-log.ts +++ b/scripts/parse-log.ts @@ -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[]) {