aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-15 08:37:49 +0200
committerChocobozzz <me@florianbigard.com>2021-06-15 10:40:06 +0200
commit51f636ad0f928bb94069c9143e38df0518f6e4a7 (patch)
treec841250bb295b67fb2d9026388d102e08d35c975
parente54bd458c1eec9a23730b3cc3c926568f3b02186 (diff)
downloadPeerTube-51f636ad0f928bb94069c9143e38df0518f6e4a7.tar.gz
PeerTube-51f636ad0f928bb94069c9143e38df0518f6e4a7.tar.zst
PeerTube-51f636ad0f928bb94069c9143e38df0518f6e4a7.zip
Display locale date time in parse log
-rwxr-xr-xscripts/parse-log.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/parse-log.ts b/scripts/parse-log.ts
index 5f4480c88..eb3851085 100755
--- a/scripts/parse-log.ts
+++ b/scripts/parse-log.ts
@@ -140,7 +140,7 @@ function toTimeFormat (time: string) {
140 140
141 if (isNaN(timestamp) === true) return 'Unknown date' 141 if (isNaN(timestamp) === true) return 'Unknown date'
142 142
143 return new Date(timestamp).toISOString() 143 return new Date(timestamp).toLocaleString()
144} 144}
145 145
146function containsTags (loggerTags: string[], optionsTags: string[]) { 146function containsTags (loggerTags: string[], optionsTags: string[]) {