Skip to content

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

Display locale date time in parse log

Chocobozzz51f636ad0f92
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts
index 5f4480c882..eb38510859 100755
--- a/scripts/parse-log.ts
+++ b/scripts/parse-log.ts
@@ -140,7 +140,7 @@ function toTimeFormat (time: string) {
if (isNaN(timestamp) === true) return 'Unknown date'
- return new Date(timestamp).toISOString()
+ return new Date(timestamp).toLocaleString()
}
function containsTags (loggerTags: string[], optionsTags: string[]) {