From 0ac59efe188a3c33fedad03f93e1adc3d0d5f3ad Mon Sep 17 00:00:00 2001 From: 3eef8a28f26fb2bcc514e6f1938929a1f931762 <116031952+3eef8a28f26fb2bcc514e6f1938929a1f931762@users.noreply.github.com> Date: Thu, 9 Feb 2023 17:00:03 -0500 Subject: [PATCH] Summer terms were backwards; fixed --- src/CourseOfferingsScraper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CourseOfferingsScraper.cpp b/src/CourseOfferingsScraper.cpp index 682c89a..7c25285 100644 --- a/src/CourseOfferingsScraper.cpp +++ b/src/CourseOfferingsScraper.cpp @@ -183,10 +183,10 @@ void handle_course_summer(const Json::Value& course, const auto& dateStart = timeslot["dateStart"].asString(); subterm = 0; if(dateStart.substr(0,2) != "05") { - subterm = 1; + subterm = 2; subterm1 = true; } else if(dateEnd.substr(0,2) != "08") { - subterm = 2; + subterm = 1; subterm2 = true; } else { subterm0 = true;