Patch Changes
-
ac7a81aThanks
@segunadebayo! - Allow typing dates using the locale's native numerals (e.g.
Arabic-Indic٠-٩, Devanagari०-९) in addition to ASCII digits. Latin-locale behavior is unchanged. -
#3190
808c5efThanks
@Adebesin-Cell! - Fix timezone-naive values (CalendarDate/CalendarDateTime)
being shifted by the viewer's local UTC offset when a customformatterwithout an explicittimeZoneis provided.
Typing0into the hour segment of a time-only input previously committed/displayed02at UTC+2 or09at UTC+9
instead of0.The instant fed to the formatter is now built using the formatter's own resolved time zone, so a wall-clock value
round-trips unshifted regardless of the viewer's locale.ZonedDateTimevalues (which carry an absolute instant) are
unaffected. -
Updated dependencies [
ac7a81a]:- @zag-js/date-utils@1.42.0
- @zag-js/anatomy@1.42.0
- @zag-js/core@1.42.0
- @zag-js/types@1.42.0
- @zag-js/utils@1.42.0
- @zag-js/dom-query@1.42.0
- @zag-js/live-region@1.42.0