From f965469e13a45d3a7b796dfd6be44573bf8b13d0 Mon Sep 17 00:00:00 2001 From: Jonathan Bennetts Date: Thu, 23 Feb 2023 08:34:41 +0000 Subject: [PATCH] fix(Google Calendar Node): Fix incorrect labels for start and end times when getting all events (#5529) --- .../nodes/Google/Calendar/EventDescription.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts b/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts index 7bc486862b..6383c04a0d 100644 --- a/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts +++ b/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts @@ -642,6 +642,20 @@ export const eventFields: INodeProperties[] = [ }, }, options: [ + { + displayName: 'After', + name: 'timeMin', + type: 'dateTime', + default: '', + description: 'At least some part of the event must be after this time', + }, + { + displayName: 'Before', + name: 'timeMax', + type: 'dateTime', + default: '', + description: 'At least some part of the event must be before this time', + }, { displayName: 'iCalUID', name: 'iCalUID', @@ -708,20 +722,6 @@ export const eventFields: INodeProperties[] = [ description: 'Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves', }, - { - displayName: 'Start Time', - name: 'timeMax', - type: 'dateTime', - default: '', - description: "Upper bound (exclusive) for an event's start time to filter by", - }, - { - displayName: 'End Time', - name: 'timeMin', - type: 'dateTime', - default: '', - description: "Lower bound (exclusive) for an event's end time to filter by", - }, { displayName: 'Timezone', name: 'timeZone',