mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
⚡ Make sure that DateTime Node always returns strings
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user