1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-21 09:59:34 +03:00

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',