diff --git a/client/src/app/(protected)/groups/[id]/Content/Sessions/Sessions.tsx b/client/src/app/(protected)/groups/[id]/Content/Sessions/Sessions.tsx index 23216a42..c049e1eb 100644 --- a/client/src/app/(protected)/groups/[id]/Content/Sessions/Sessions.tsx +++ b/client/src/app/(protected)/groups/[id]/Content/Sessions/Sessions.tsx @@ -163,8 +163,8 @@ export default function Sessions({ group, fetchGroup }: SessionsProps) { try { const Today = new Date(); - const [year, month, day] = formData.endTime.split('-'); - const [hour, min] = formData.endHour.split(':'); + const [year, month, day] = formData.startTime.split('-'); + const [hour, min] = formData.startHour.split(':'); const sessionDate = new Date( Number(year), Number(month) - 1,