if the semester has not started yet week=0 is the first week of the semester and so is week=n, for n = weeks till semester begin.
This could be fixed by checking the weekOfYear, after parsing the data from the hs website, but it means additional delay since it has to be done on every update.
if(timetableWeekOfYear>currentWeekOfYear){//calculateDifference
diff=timetableWeekOfYear-currentWeekOfYear}// rerun the parsing process with "&week=${week + diff}"
if the semester has not started yet week=0 is the first week of the semester and so is week=n, for n = weeks till semester begin.
This could be fixed by checking the weekOfYear, after parsing the data from the hs website, but it means additional delay since it has to be done on every update.
```kotlin
if (timetableWeekOfYear > currentWeekOfYear) {
//calculateDifference
diff = timetableWeekOfYear - currentWeekOfYear
}
// rerun the parsing process with "&week=${week + diff}"
```
Seil0
self-assigned this 2019-09-22 21:29:39 +02:00
Seil0
added the bug label 2019-09-22 21:29:39 +02:00
Seil0
added the hs issue label 2019-09-22 21:35:58 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
if the semester has not started yet week=0 is the first week of the semester and so is week=n, for n = weeks till semester begin.
This could be fixed by checking the weekOfYear, after parsing the data from the hs website, but it means additional delay since it has to be done on every update.