From cf157acf2507a0ec8d11b750d46dcebe5a71c85d Mon Sep 17 00:00:00 2001 From: akanshaaaa19 Date: Mon, 15 Apr 2024 16:56:25 +0530 Subject: [PATCH] removed utc conversion for start and end dates --- src/containers/Trigger/Trigger.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/Trigger/Trigger.tsx b/src/containers/Trigger/Trigger.tsx index 77ed6f645..0bceb3e98 100644 --- a/src/containers/Trigger/Trigger.tsx +++ b/src/containers/Trigger/Trigger.tsx @@ -72,8 +72,8 @@ const setPayload = (payload: any, roles: any, groupType: any) => { days: [], hours: [], groupIds: groups, - startDate: dayjs(startAt).utc().format(ISO_DATE_FORMAT), - endDate: dayjs(endDate).utc().format(ISO_DATE_FORMAT), + startDate: dayjs(startAt).format(ISO_DATE_FORMAT), + endDate: dayjs(endDate).format(ISO_DATE_FORMAT), startTime: dayjs(startAt).utc().format(EXTENDED_TIME_FORMAT), frequency: frequency.value, roles: payload.roles,