Skip to content

Commit

Permalink
Merge pull request #162 from makeopensource/89-create-course-styling
Browse files Browse the repository at this point in the history
fixed subtracting a day from start and end date
  • Loading branch information
NeemZ16 authored Oct 28, 2024
2 parents a7d265d + 7143bf4 commit 96ee875
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ const EditCourseFormPage = () => {
name: formData.name,
number: formData.number,
semester: formData.semester,
startDate: startDate,
endDate: endDate,
startDate: startDate + "T16:02:41.849Z",
endDate: endDate + "T16:02:41.849Z",
}

RequestService.post('/api/courses/instructor', finalFormData)
Expand Down

0 comments on commit 96ee875

Please sign in to comment.