diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/parse-log.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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) { | |||
142 | 142 | ||
143 | if (isNaN(timestamp) === true) return 'Unknown date' | 143 | if (isNaN(timestamp) === true) return 'Unknown date' |
144 | 144 | ||
145 | return new Date(timestamp).toLocaleString() | 145 | const d = new Date(timestamp) |
146 | return d.toLocaleString() + `.${d.getMilliseconds()}` | ||
146 | } | 147 | } |
147 | 148 | ||
148 | function containsTags (loggerTags: string[], optionsTags: string[]) { | 149 | function containsTags (loggerTags: string[], optionsTags: string[]) { |