Merge branch 'dev' of github.com:refilc/naplo into dev

This commit is contained in:
Kima 2024-03-04 22:58:42 +01:00
commit 0dc9a0640a

View File

@ -224,6 +224,10 @@ public class WidgetTimetable extends HomeWidgetProvider {
dbManager.close();
// get the date of the first lesson
DateTime dt = new DateTime(s.get(retday).getJSONObject(0).getString("Datum"));
retday = dt.getDayOfWeek() - 1;
return retday;
} catch (Exception e) {
e.printStackTrace();