fix: extra space

This commit is contained in:
DhruvArora-03
2024-02-17 16:37:35 -06:00
committed by doprz
parent 0f730d6c50
commit 0f43796cd8

View File

@@ -62,7 +62,7 @@ export function useFlattenedCourseSchedule(): CalendarGridCourse[] {
// in-person
return meetings.flatMap(meeting => {
const { days, startTime, endTime, location } = meeting;
const time = meeting.getTimeString({ separator: ' - ', capitalize: true });
const time = meeting.getTimeString({ separator: '-', capitalize: true });
const timeAndLocation = `${time} - ${location ? location.building : 'WB'}`;
return days.map(d => ({