mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(Convert to File Node): Fix issue with end date always being day+1 when all day
This commit is contained in:
parent
eb2d1ca357
commit
66ae41db3d
|
@ -289,7 +289,7 @@ export async function execute(this: IExecuteFunctions, items: INodeExecutionData
|
|||
end = start;
|
||||
}
|
||||
|
||||
end = allDay ? moment(end).utc().add(1, 'day').format() : end;
|
||||
end = allDay ? moment(end).utc().set({ hour: 23, minute: 59, second: 59 }).format() : end;
|
||||
|
||||
const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i);
|
||||
const options = this.getNodeParameter('additionalFields', i);
|
||||
|
|
Loading…
Reference in a new issue