From dc642419df5780aa6adcccf7760a697ccf6d51f7 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 26 Oct 2021 11:32:33 -0500 Subject: [PATCH] :zap: Make sure that DateTime Node always returns strings --- packages/nodes-base/nodes/DateTime.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/DateTime.node.ts b/packages/nodes-base/nodes/DateTime.node.ts index df586997fd..89e9def2c4 100644 --- a/packages/nodes-base/nodes/DateTime.node.ts +++ b/packages/nodes-base/nodes/DateTime.node.ts @@ -496,7 +496,7 @@ export class DateTime implements INodeType { newItem.binary = item.binary; } - set(newItem, `json.${dataPropertyName}`, newDate); + set(newItem, `json.${dataPropertyName}`, newDate.toISOString()); returnData.push(newItem); }