AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(date-helper): ui improvement (#16364)
Talal Jaber168043bf0034
diff --git a/bun.lock b/bun.lockindex b9b8c18acce..fdc2932d2b1 100644--- a/bun.lock+++ b/bun.lock@@ -10494,7 +10494,7 @@},"packages/pieces/core/date-helper": {"name": "@activepieces/piece-date-helper",- "version": "0.1.36",+ "version": "0.2.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",diff --git a/packages/pieces/core/date-helper/package.json b/packages/pieces/core/date-helper/package.jsonindex c47c7fe10fa..19f5f02204c 100644--- a/packages/pieces/core/date-helper/package.json+++ b/packages/pieces/core/date-helper/package.json@@ -1,6 +1,6 @@{"name": "@activepieces/piece-date-helper",- "version": "0.1.36",+ "version": "0.2.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","scripts": {diff --git a/packages/pieces/core/date-helper/src/lib/actions/date-difference.ts b/packages/pieces/core/date-helper/src/lib/actions/date-difference.tsindex 971f3f076eb..c224117fd92 100644--- a/packages/pieces/core/date-helper/src/lib/actions/date-difference.ts+++ b/packages/pieces/core/date-helper/src/lib/actions/date-difference.ts@@ -32,6 +32,13 @@ export const dateDifferenceAction = createAction({icon: 'calendar',props: ['endDate', 'endDateFormat'],},+ {+ key: 'output',+ display: 'section',+ label: 'Output',+ icon: 'type',+ props: ['unitDifference'],+ },],props: {startDate: Property.ShortText({diff --git a/packages/pieces/core/date-helper/src/lib/actions/next-day-of-week.ts b/packages/pieces/core/date-helper/src/lib/actions/next-day-of-week.tsindex cf7186d4e9d..1b3ae655fc6 100644--- a/packages/pieces/core/date-helper/src/lib/actions/next-day-of-week.ts+++ b/packages/pieces/core/date-helper/src/lib/actions/next-day-of-week.ts@@ -24,6 +24,22 @@ export const nextDayofWeek = createAction({displayName: 'Next Day of Week',description: 'Get the date and time of the next day of the week',aiMetadata: { description: 'Returns the next occurrence of a given weekday in a chosen time zone, stamped with a fixed 24h time or the current time; when today is that weekday but the target time has already passed, it rolls forward a full week. Use Next Day of Year for a month-and-day anniversary and Add/Subtract Time to offset a date you already hold. The weekday is required and the time must be HH:mm; not idempotent, since the result derives from the current clock and identical inputs return different dates over time.', idempotent: false },+ propertyGroups: [+ {+ key: 'when',+ display: 'section',+ label: 'When',+ icon: 'calendar',+ props: ['weekday', 'time'],+ },+ {+ key: 'output',+ display: 'section',+ label: 'Output',+ icon: 'type',+ props: ['timeFormat', 'timeZone'],+ },+ ],props: {weekday: Property.StaticDropdown({displayName: 'Weekday',diff --git a/packages/pieces/core/date-helper/src/lib/actions/next-day-of-year.ts b/packages/pieces/core/date-helper/src/lib/actions/next-day-of-year.tsindex 6283dc9c7c9..eafb34b8e7a 100644--- a/packages/pieces/core/date-helper/src/lib/actions/next-day-of-year.ts+++ b/packages/pieces/core/date-helper/src/lib/actions/next-day-of-year.ts@@ -24,6 +24,22 @@ export const nextDayofYear = createAction({displayName: 'Next Day of Year',description: 'Get the date and time of the next day of the year',aiMetadata: { description: 'Returns the next occurrence of a fixed month and day of month relative to now in a chosen time zone, rolling into next year when that date has already passed, stamped with a fixed 24h time or the current time. Use it for anniversaries and renewals; prefer Next Day of Week for weekday-based recurrence. Month and day are required (a day missing from the chosen month rolls into the following month instead of erroring) and the time must be HH:mm; not idempotent, since the base is the current clock.', idempotent: false },+ propertyGroups: [+ {+ key: 'when',+ display: 'section',+ label: 'When',+ icon: 'calendar',+ props: ['month', 'day', 'time'],+ },+ {+ key: 'output',+ display: 'section',+ label: 'Output',+ icon: 'type',+ props: ['timeFormat', 'timeZone'],+ },+ ],props: {month: Property.StaticDropdown({displayName: 'Month',