Skip to content

Commit

Permalink
fix #1498 Merge branch 'cimagle-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokada committed Dec 2, 2024
2 parents 6542fdb + a1d3b17 commit 23f3d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/datepicker/Datepicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
let start = firstDay.getDay() - firstDayOfWeek;
if (start < 0) start += 7;
for (let i = 0; i < start; i++) {
daysArray.push(new Date(year, month, -i));
daysArray.unshift(new Date(year, month, -i));
}
// Add days of the current month
Expand Down

0 comments on commit 23f3d08

Please sign in to comment.