fix(n8n Form Node): Remove the ability to change the formatting of dates (#12666)

This commit is contained in:
Dana 2025-01-17 17:04:08 +01:00 committed by GitHub
parent fbc8ca6571
commit 14904ff779
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 <a href="https://moment.github.io/luxon/#/formatting?ID=table-of-tokens" target="_blank">here</a>.',
placeholder: 'e.g. dd/mm/yyyy',
hint: 'Leave empty to use the default format',
displayOptions: {
show: {
fieldType: ['date'],
},
},
},
{
displayName: 'Required Field',