mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
remove faulty date input transformation with moment
This commit is contained in:
parent
861691cf63
commit
19c8e5f3fb
|
@ -11,7 +11,6 @@ import type {
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import { NodeApiError } from 'n8n-workflow';
|
import { NodeApiError } from 'n8n-workflow';
|
||||||
|
|
||||||
import moment from 'moment';
|
|
||||||
import type { TDtableMetadataColumns, TEndpointVariableName } from './types';
|
import type { TDtableMetadataColumns, TEndpointVariableName } from './types';
|
||||||
|
|
||||||
import { schema } from './Schema';
|
import { schema } from './Schema';
|
||||||
|
@ -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;
|
return row;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue