mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-29 00:20:45 -06:00
more date fixes
This commit is contained in:
@@ -32,7 +32,7 @@ function createCalendarMonth(year: number, month: number): CalendarMonthModel {
|
||||
return new Date(year, month - 1, currentDay++);
|
||||
} else {
|
||||
currentDay++;
|
||||
return new Date(year, month, currentDay - daysInMonth);
|
||||
return new Date(year, month, currentDay - daysInMonth - 1);
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user