mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-28 17:52:55 +00:00
Summer terms were backwards; fixed
This commit is contained in:
parent
34be84a044
commit
0ac59efe18
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue