Merged
Conversation
Member
Author
Contributor
|
@ScarletKuro I've opened a new pull request, #12373, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: ScarletKuro <[email protected]>
Member
Author
|
Huge bug, imo |
Member
Author
|
Meh, this created a bug, that now when you go from january from 2027 to the december of 2026, it doesnt switch the year upd: Oh wait, it suppose to stay with |
This was referenced Feb 20, 2026
Open
This was referenced Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #12368
The
FixYearparameter was not being used when displaying the year header in month view or initializing the calendar, causing the picker to show the current year instead of the fixed year.Changes:
GetCalendarYear(): ReturnFixYear.Valuewhen set, before falling back to date-based calculationGetCalendarStartOfMonth(): IncludeHighlightedDatein fallback chain (which respectsFixYearduring initialization)Example:
The fix ensures that when
FixYearis specified (past or future), the DatePicker consistently displays that year in the header and renders the correct month's days without hiding them incorrectly.Checklist: