Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
santimintegui committed Nov 11, 2023
1 parent 3aec20d commit 8fbd0ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8fbd0ab

Please sign in to comment.