You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(MonthPicker, YearPicker): preserve day/month when selecting (#2594)
* fix(MonthPicker, YearPicker): preserve day/month when selecting month or year
MonthPicker was resetting the day to 1 and YearPicker was resetting both
month and day to 1 when a new value was selected, because grid cells are
constructed with startOfMonth/startOfYear. Now the selected month/year is
applied to the existing modelValue or placeholder, preserving other segments.
Closes#2587, closes#2588
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: preserve era when paging across BC/AD boundaries
Use the selected value as the base (preserving its era) and copy
month/day from the reference, instead of the other way around.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments