diff --git a/packages/nodes-base/nodes/Schedule/GenericFunctions.ts b/packages/nodes-base/nodes/Schedule/GenericFunctions.ts index aa607521e392c..3e7b37146c155 100644 --- a/packages/nodes-base/nodes/Schedule/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Schedule/GenericFunctions.ts @@ -1,5 +1,5 @@ import type { IDataObject } from 'n8n-workflow'; -import moment from 'moment'; +import moment from 'moment-timezone'; import type { IRecurencyRule } from './SchedulerInterface'; export function recurencyCheck( diff --git a/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts b/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts index 10a9a4ae6e4ca..781d3dcaf6e75 100644 --- a/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts +++ b/packages/nodes-base/nodes/Schedule/ScheduleTrigger.node.ts @@ -8,7 +8,7 @@ import type { import { NodeOperationError } from 'n8n-workflow'; import { CronJob } from 'cron'; -import moment from 'moment'; +import moment from 'moment-timezone'; import type { IRecurencyRule } from './SchedulerInterface'; import { convertToUnixFormat, recurencyCheck } from './GenericFunctions';