From 0561ca6e1b367729921328af5c6e4a8ad20c4f41 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Tue, 21 May 2024 17:39:33 +0100 Subject: [PATCH] Remove date leniency. --- packages/server/src/utilities/rowProcessor/index.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/server/src/utilities/rowProcessor/index.ts b/packages/server/src/utilities/rowProcessor/index.ts index 4d91759be5..73176af6d8 100644 --- a/packages/server/src/utilities/rowProcessor/index.ts +++ b/packages/server/src/utilities/rowProcessor/index.ts @@ -150,12 +150,6 @@ export async function inputProcessing( clonedRow[key] = coerce(value, field.type) } - if (field.type === FieldType.DATETIME) { - if (typeof clonedRow[key] === "string") { - clonedRow[key] = clonedRow[key].trim() - } - } - // remove any attachment urls, they are generated on read if (field.type === FieldType.ATTACHMENTS) { const attachments = clonedRow[key]