mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ added custom format
This commit is contained in:
@@ -44,7 +44,7 @@ export class DateTime implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
action:[
|
||||
'format'
|
||||
'format',
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -52,6 +52,35 @@ export class DateTime implements INodeType {
|
||||
default: '',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Format',
|
||||
name: 'custom',
|
||||
displayOptions: {
|
||||
show: {
|
||||
action:[
|
||||
'format',
|
||||
],
|
||||
},
|
||||
},
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
},
|
||||
{
|
||||
displayName: 'To Format',
|
||||
name: 'toFormat',
|
||||
displayOptions: {
|
||||
show: {
|
||||
action:[
|
||||
'format',
|
||||
],
|
||||
custom: [
|
||||
true,
|
||||
],
|
||||
},
|
||||
},
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'To Format',
|
||||
name: 'toFormat',
|
||||
@@ -59,7 +88,10 @@ export class DateTime implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
action:[
|
||||
'format'
|
||||
'format',
|
||||
],
|
||||
custom:[
|
||||
false,
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user