fix(Date & Time Node): Add info box at top of date and time explaining expressions

This commit is contained in:
Michael Kret 2023-03-30 20:03:58 +03:00 committed by GitHub
parent 6c35518ed9
commit b7a20dd3a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,13 @@ export class DateTime implements INodeType {
inputs: ['main'],
outputs: ['main'],
properties: [
{
displayName:
"More powerful date functionality is available in <a href='https://docs.n8n.io/code-examples/expressions/luxon/' target='_blank'>expressions</a>,</br> e.g. <code>{{ $now.plus(1, 'week') }}</code>",
name: 'noticeDateTime',
type: 'notice',
default: '',
},
{
displayName: 'Action',
name: 'action',