From d4631816efc63f3cd256467bef5004051bbd5f96 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,