From ade7977f8df0b63a8a84f9492f093109b12b8a7d Mon Sep 17 00:00:00 2001 From: SophiaSun18 Date: Mon, 11 Mar 2024 14:32:59 -0400 Subject: [PATCH] SemesterStartDate, SemesterEndDate -> StartDate, EndDate original StartDate (column name: TermStart) commented out: same value as SemesterStartDate, all combined into the StartDate column of new format Semester Length = EndDate - StartDate --- client-course-schedulizer/src/utilities/helpers/readCSV.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client-course-schedulizer/src/utilities/helpers/readCSV.ts b/client-course-schedulizer/src/utilities/helpers/readCSV.ts index 6895e254..ab3a3c30 100644 --- a/client-course-schedulizer/src/utilities/helpers/readCSV.ts +++ b/client-course-schedulizer/src/utilities/helpers/readCSV.ts @@ -54,6 +54,7 @@ const registrarSpreadsheetFields: ValidFields = { // Day10Used: cf.day10UsedCallback, DeliveryMode: cf.deliveryModeCallback, Department: cf.departmentCallback, + EndDate: cf.endDateCallback, FacultyLoad: cf.facultyHoursCallback, // GlobalMax: cf.globalMaxCallback, Group: cf.groupCallback, @@ -71,13 +72,12 @@ const registrarSpreadsheetFields: ValidFields = { MinimumCredits: cf.studentHoursCallback, RoomCapacity: cf.roomCapacityCallback, SectionCode: cf.letterCallback, - SectionEndDate: cf.endDateCallback, - SectionStartDate: cf.startDateCallback, SectionStatus: cf.statusCallback, SemesterHours: cf.semesterHourCallback, SemesterLength: cf.semesterLengthCallback, ShortTitle: cf.nameCallback, - StartDate: cf.termStartCallback, + // StartDate: cf.termStartCallback, + StartDate: cf.startDateCallback, SubjectCode: cf.prefixCallback, // Used: cf.usedCallback, };