diff --git a/uni/lib/model/entities/exam.dart b/uni/lib/model/entities/exam.dart index 1bfe20d0f..36c56fd58 100644 --- a/uni/lib/model/entities/exam.dart +++ b/uni/lib/model/entities/exam.dart @@ -66,7 +66,7 @@ class Exam { String weekDay(AppLocale locale) { return DateFormat.EEEE(locale.localeCode.languageCode) .dateSymbols - .WEEKDAYS[begin.weekday - 1]; + .WEEKDAYS[begin.weekday % 7]; } String month(AppLocale locale) {