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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
DatePicker.format prop — optional Intl.DateTimeFormatOptions subset (weekday, year, month, day, hour, minute, second, hour12, hourCycle, dateStyle, timeStyle) on the DatePicker element schema (DateTimeFormatOptionsSchema / DateTimeFormatOptions), controlling how the picker's stored/displayed label is formatted across date/time/datetime modes. Lets authors choose 12h vs 24h, day/month/year style, etc. (e.g. { hour: "2-digit", minute: "2-digit", hour12: false } → "14:30"). Omit for the previous default medium-style label. Note: Intl throws if dateStyle/timeStyle is combined with component fields — don't mix them (schema does not enforce).