diff --git a/app/calendar/page.tsx b/app/calendar/page.tsx index 7ec1686..2697e13 100644 --- a/app/calendar/page.tsx +++ b/app/calendar/page.tsx @@ -38,6 +38,7 @@ export default async function CalendarPage() { courseReferenceNumber: num, }, }); + output.push({ classNames: "font-sans", textColor: "white", @@ -58,13 +59,13 @@ export default async function CalendarPage() { ], startTime: - meetingTimes?.beginTime?.slice(0, 2) + + meetingTimes?.beginTime.slice(0, 2) + ":" + - meetingTimes?.beginTime?.slice(2), + meetingTimes?.beginTime.slice(2), endTime: - meetingTimes?.endTime?.slice(0, 2) + + meetingTimes?.endTime.slice(0, 2) + ":" + - meetingTimes?.endTime?.slice(2), + meetingTimes?.endTime.slice(2), }); } } diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 77dc829..968f9c2 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -70,14 +70,14 @@ model MeetingsFaculty { model MeetingTime { id Int @id @default(autoincrement()) - beginTime String? + beginTime String building String buildingDescription String room String category String courseReferenceNumber String @unique endDate String - endTime String? + endTime String startDate String hoursWeek Float meetingType String diff --git a/swatscraper b/swatscraper index bffb3e2..6089f91 160000 --- a/swatscraper +++ b/swatscraper @@ -1 +1 @@ -Subproject commit bffb3e2274fe165291fc0e3a20bc674c8287d53e +Subproject commit 6089f9194726570223d8d85018e2a4377925366b