From 23d51a1f0858f41c9632d87d1e4a611ddcc051e6 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Mon, 28 Jan 2019 01:14:04 +0100 Subject: [PATCH] report: use consistent format for dumpEventTime Use the same JS-compatible format on both POSIX and Windows. PR-URL: https://github.com/nodejs/node/pull/25751 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil --- src/node_report.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_report.cc b/src/node_report.cc index 69ae0ee53eb292..a9861f931e847c 100644 --- a/src/node_report.cc +++ b/src/node_report.cc @@ -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,