Make sure that DateTime Node always returns strings

This commit is contained in:
Jan Oberhauser 2021-10-26 11:32:33 -05:00
parent 119989bc37
commit dc642419df

View file

@ -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);
}