mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
⚡ Make sure that DateTime Node always returns strings
This commit is contained in:
parent
119989bc37
commit
dc642419df
|
@ -496,7 +496,7 @@ export class DateTime implements INodeType {
|
||||||
newItem.binary = item.binary;
|
newItem.binary = item.binary;
|
||||||
}
|
}
|
||||||
|
|
||||||
set(newItem, `json.${dataPropertyName}`, newDate);
|
set(newItem, `json.${dataPropertyName}`, newDate.toISOString());
|
||||||
|
|
||||||
returnData.push(newItem);
|
returnData.push(newItem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue