From b7a20dd3a2e69a8e4e8ba76c63a6b1f4c26b6a87 Mon Sep 17 00:00:00 2001
From: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Date: Thu, 30 Mar 2023 20:03:58 +0300
Subject: [PATCH] fix(Date & Time Node): Add info box at top of date and time
explaining expressions
---
packages/nodes-base/nodes/DateTime/DateTime.node.ts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/packages/nodes-base/nodes/DateTime/DateTime.node.ts b/packages/nodes-base/nodes/DateTime/DateTime.node.ts
index 90f38cdb4c..26facc9e17 100644
--- a/packages/nodes-base/nodes/DateTime/DateTime.node.ts
+++ b/packages/nodes-base/nodes/DateTime/DateTime.node.ts
@@ -59,6 +59,13 @@ export class DateTime implements INodeType {
inputs: ['main'],
outputs: ['main'],
properties: [
+ {
+ displayName:
+ "More powerful date functionality is available in expressions, e.g. {{ $now.plus(1, 'week') }}
",
+ name: 'noticeDateTime',
+ type: 'notice',
+ default: '',
+ },
{
displayName: 'Action',
name: 'action',