Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add ms to parse log dates

Chocobozzzed76401ecd85
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts
index fca288dbd8..c165035892 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[]) {