From 19c8e5f3fbc6d87f96f64ad16fc96eb7f1f2fd1c Mon Sep 17 00:00:00 2001 From: Christoph Dyllick-Brenzinger Date: Fri, 16 Aug 2024 10:27:27 +0200 Subject: [PATCH] remove faulty date input transformation with moment --- .../nodes-base/nodes/SeaTable/v2/GenericFunctions.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/nodes-base/nodes/SeaTable/v2/GenericFunctions.ts b/packages/nodes-base/nodes/SeaTable/v2/GenericFunctions.ts index 92f6c5e679..4431de6f76 100644 --- a/packages/nodes-base/nodes/SeaTable/v2/GenericFunctions.ts +++ b/packages/nodes-base/nodes/SeaTable/v2/GenericFunctions.ts @@ -11,7 +11,6 @@ import type { } from 'n8n-workflow'; import { NodeApiError } from 'n8n-workflow'; -import moment from 'moment'; import type { TDtableMetadataColumns, TEndpointVariableName } from './types'; import { schema } from './Schema'; @@ -126,7 +125,7 @@ export async function seaTableApiRequest( } // DEBUG-MODE OR API-REQUESTS - //console.log(options); + // console.log(options); if (Object.keys(body).length === 0) { delete options.body; @@ -327,12 +326,6 @@ export function splitStringColumnsToArrays( } } } - if (column.type == 'date') { - if (typeof row[column.name] === 'string') { - const input = row[column.name] as string; - row[column.name] = moment(input, 'YYYY-mm-dd', true); - } - } }); return row; }