Skip to content

Commit

Permalink
report: use consistent format for dumpEventTime
Browse files Browse the repository at this point in the history
Use the same JS-compatible format on both POSIX and Windows.

PR-URL: #25751
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
addaleax committed Jan 30, 2019
1 parent cc22fd7 commit d463181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_report.cc
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ static void WriteNodeReport(Isolate* isolate,
#ifdef _WIN32
snprintf(timebuf,
sizeof(timebuf),
"%4d/%02d/%02d %02d:%02d:%02d",
"%4d-%02d-%02dT%02d:%02d:%02dZ",
tm_struct->wYear,
tm_struct->wMonth,
tm_struct->wDay,
Expand Down

0 comments on commit d463181

Please sign in to comment.