1
0
Fork 0
mirror of synced 2024-08-23 05:51:29 +12:00

Remove date leniency.

This commit is contained in:
Sam Rose 2024-05-21 17:39:33 +01:00
parent 7f7ed9f0cb
commit 0561ca6e1b
No known key found for this signature in database

View file

@ -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]