fix bug with calendar offset (again)
This commit is contained in:
@@ -77,7 +77,7 @@ export default class CalendarModel {
|
||||
console.log(firstWeekdayOfMonth, firstDayOfWeekSetting);
|
||||
|
||||
const offset: number =
|
||||
firstWeekdayOfMonth == 0
|
||||
firstWeekdayOfMonth < firstDayOfWeekSetting
|
||||
? 7 - firstDayOfWeekSetting
|
||||
: firstWeekdayOfMonth - firstDayOfWeekSetting;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user