Skip to content

Commit

Permalink
Merge pull request #850 from intuitem/CA-380-calendar-bug-on-same-mon…
Browse files Browse the repository at this point in the history
…th-of-next-years-3

corrected bug on calendar - filled boxes
  • Loading branch information
nas-tabchiche authored Sep 19, 2024
2 parents 4b7763b + 4c3ebde commit 7203a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/Calendar/Day.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</div>
{/if}
</div>
{:else if (day < today.getDate() && month == today.getMonth() + 1) || (month < today.getMonth() + 1 && year == today.getFullYear()) || year < today.getFullYear()}
{:else if (day < today.getDate() && month == today.getMonth() + 1 && year == today.getFullYear()) || (month < today.getMonth() + 1 && year == today.getFullYear()) || year < today.getFullYear()}
<div
in:fly={{ delay: 100, duration: 300 }}
class="flex flex-col border p-2 bg-gray-300 text-gray-500 rounded-lg text-sm"
Expand Down

0 comments on commit 7203a3f

Please sign in to comment.