-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
🐞 Calendar Dates Do Not Match Correct Weekdays
Description
The calendar view displays incorrect date-to-weekday alignment. Dates are rendered under the wrong day headers (e.g., a date that should fall on Thursday appears under Monday). This causes confusion and makes task scheduling unreliable.
Steps to Reproduce
- Open the Calendar view.
- Navigate to any month where the 1st day does not start on Sunday (e.g., January 2026).
- Observe that dates are placed directly from the 1st under Sunday instead of their correct weekday.
Expected Behavior
- The calendar grid should align dates correctly with their real-world weekdays.
- Days before the 1st of the month should appear as empty/disabled cells.
- The calendar should visually match standard calendars (Google Calendar, Outlook, etc.).
Actual Behavior
- The calendar renders only the days of the month without padding.
- This causes all dates to shift left and appear under incorrect weekdays.
Root Cause
The calendar uses:
eachDayOfInterval(startOfMonth, endOfMonth)
Metadata
Metadata
Assignees
Labels
No labels