mirror of
https://github.com/quatalog/quatalog.git
synced 2024-12-01 11:12:46 +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();
|
const auto& dateStart = timeslot["dateStart"].asString();
|
||||||
subterm = 0;
|
subterm = 0;
|
||||||
if(dateStart.substr(0,2) != "05") {
|
if(dateStart.substr(0,2) != "05") {
|
||||||
subterm = 1;
|
subterm = 2;
|
||||||
subterm1 = true;
|
subterm1 = true;
|
||||||
} else if(dateEnd.substr(0,2) != "08") {
|
} else if(dateEnd.substr(0,2) != "08") {
|
||||||
subterm = 2;
|
subterm = 1;
|
||||||
subterm2 = true;
|
subterm2 = true;
|
||||||
} else {
|
} else {
|
||||||
subterm0 = true;
|
subterm0 = true;
|
||||||
|
|
Loading…
Reference in a new issue