Skip to content

Commit

Permalink
removed utc conversion for start and end dates
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Apr 15, 2024
1 parent ec98334 commit cf157ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/Trigger/Trigger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cf157ac

Please sign in to comment.