Skip to content

Commit

Permalink
fix: set dates
Browse files Browse the repository at this point in the history
  • Loading branch information
n-colasanto-as committed Mar 4, 2025
1 parent 7d66624 commit c87ffd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ export class KupCalendar {
this.viewType === KupCalendarViewTypes.MONTH &&
date.getDate() > 1
) {
date.setMonth(date.getMonth() + 1);
date.setDate(1);
date.setMonth(date.getMonth() + 1);
this.initialDate = date.toISOString().substring(0, 10);
} else {
this.initialDate = isoDate;
Expand Down

0 comments on commit c87ffd1

Please sign in to comment.