Skip to content

Commit

Permalink
fix(debugger): fix display of log timestamp (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentlp committed Jul 28, 2022
1 parent 1b8ce55 commit 7d69cae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class BottomPanel extends React.Component<Props, State> {
return
}

this.logs.push(this.makeLogEntry({ ...log, timestamp: Date.now().toString() }))
this.logs.push(this.makeLogEntry({ ...log, timestamp: new Date().toISOString() }))

if (this.logs.length > MAX_LOGS_LIMIT) {
this.logs.shift()
Expand Down

0 comments on commit 7d69cae

Please sign in to comment.