OpenUntis icon indicating copy to clipboard operation
OpenUntis copied to clipboard

Lessons displayed incorrectly

Open KaratekHD opened this issue 5 years ago • 3 comments

Hello, OpenUntis doesn't show lessons correctly. It displays both, the first and the second lesson in the column oft the first lesson, and the one for the second lesson is empty. Any idea why that is so? Screenshot_20191024-072548_KUntis_Dev_1 Screenshot_20191024-072729_Untis_Mobile_1

Thanks Jens

KaratekHD avatar Oct 24 '19 05:10 KaratekHD

Probably because your lessons don't start or end at the exact timegrid times. The algorithm in the app can't deal with lessons outside the timegrid, hence the broken timetable. One option is to update this algorithm that puts the lessons in the timegrid array, or you could take a look at my updated version of BetterUntis (the base of this Fork).

SapuSeven avatar Oct 24 '19 11:10 SapuSeven

OpenUntis will be archived if the new BetterUntis is on F-Droid, please use BetterUntis!

On October 24, 2019 11:40:03 AM UTC, SapuSeven [email protected] wrote:

Probably because your lessons don't start or end at the exact timegrid times. The algorithm in the app can't deal with lessons outside the timegrid, hence the broken timetable. One option is to update this algorithm that puts the lessons in the timegrid array, or you could take a look at my updated version of BetterUntis (the base of this Fork).

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/Perflyst/OpenUntis/issues/36#issuecomment-545878478

Perflyst avatar Oct 24 '19 14:10 Perflyst

@SapuSeven In which class is the algorithm to change?

KaratekHD avatar Oct 25 '19 12:10 KaratekHD