You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Dec and Jan months are selected, start day of Jan month is calculated based on year previous year. When 2021 Dec and Jan 2022 are selected, start day of Jan is calculated based on 2021 and not 2022. Jan 2022 should start with Saturday instead its starting with Friday.
Below code is causing the issue.
startNextMonthDay: function () {
return new Date(this.activeYearStart, this.startNextActiveMonth, 1).getDay()
},
Steps to reproduce
Select a date range between 2021 Dec and Jan 2022.
What is Expected?
Jan 1st 2022 should start with Saturday.
What is actually happening?
Jan 1st 2022 is starting with with Friday.
The text was updated successfully, but these errors were encountered:
When Dec and Jan months are selected, start day of Jan month is calculated based on year previous year. When 2021 Dec and Jan 2022 are selected, start day of Jan is calculated based on 2021 and not 2022. Jan 2022 should start with Saturday instead its starting with Friday.
Below code is causing the issue.
Steps to reproduce
Select a date range between 2021 Dec and Jan 2022.
What is Expected?
Jan 1st 2022 should start with Saturday.
What is actually happening?
Jan 1st 2022 is starting with with Friday.
The text was updated successfully, but these errors were encountered: