From cf6df1556c49d4c7a1acc2165bb2f7166dc0fcce Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Tue, 29 Mar 2022 08:35:09 +0100 Subject: [PATCH] Ensure UTC time is UTC --- packages/node_modules/@node-red/runtime/lib/api/diagnostics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js b/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js index f8ab9bbaf..9dc5a2dc0 100644 --- a/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js +++ b/packages/node_modules/@node-red/runtime/lib/api/diagnostics.js @@ -78,7 +78,7 @@ function buildDiagnosticReport(scope, callback) { wsl: isInWsl(), time: { timestamp: now.valueOf(), - utc: "" + now, + utc: "" + now.toUTCString(), locale: now.toLocaleString(), }, intl: Intl.DateTimeFormat().resolvedOptions(),