From 14904ff77951fef23eb789a43947492a4cd3fa20 Mon Sep 17 00:00:00 2001 From: Dana <152518854+dana-gill@users.noreply.github.com> Date: Fri, 17 Jan 2025 17:04:08 +0100 Subject: [PATCH] fix(n8n Form Node): Remove the ability to change the formatting of dates (#12666) --- .../nodes-base/nodes/Form/common.descriptions.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/packages/nodes-base/nodes/Form/common.descriptions.ts b/packages/nodes-base/nodes/Form/common.descriptions.ts index ad66330c27..299284c59f 100644 --- a/packages/nodes-base/nodes/Form/common.descriptions.ts +++ b/packages/nodes-base/nodes/Form/common.descriptions.ts @@ -186,19 +186,10 @@ export const formFields: INodeProperties = { }, }, { - displayName: 'Format Date As', + displayName: "The displayed date is formatted based on the locale of the user's browser", name: 'formatDate', - type: 'string', + type: 'notice', default: '', - description: - 'How to format the date in the output data. For a table of tokens and their interpretations, see here.', - placeholder: 'e.g. dd/mm/yyyy', - hint: 'Leave empty to use the default format', - displayOptions: { - show: { - fieldType: ['date'], - }, - }, }, { displayName: 'Required Field',