X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fparse-log.ts;h=c1650358923010a3594aae5dffb6a9f0264a63e5;hb=dab047092b51b453f175069573d8865fb17acdfc;hp=fca288dbd8f7dc317defe7d36b9c17caeb12790d;hpb=2d4636125182e0cd9ef403d7d2f24ed82680fa8e;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[]) {