[Input Date Picker] In Firefox and Safari, numbering-system="latn" should change numbers in date header for "ar" to "latn" numbers #7383
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Urban
Issues logged by ArcGIS Urban team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 3
A day or two of work, likely requires updates to tests.
i18n-l10n
issues dealing with internationalization/localization
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Actual Behavior
The numbers in the date header (e.g. 7/26/2023) and the value in the input appear in "arab" numbers.
Expected Behavior
The numbers should appear in "latn" numbers. This is so that the component can be consistent with the default behavior for lang="ar" in Edge and Chrome.
Reproduction Sample
https://codepen.io/ainermfc/pen/XWyxRWw?editors=100
Reproduction Steps
Reproduction Version
1.4.3
Relevant Info
Calcite history related to this issue can be found in the comments of #3079, e.g #3079 (comment)
This is the part in the Calcite code which handles the browser default discrepancy:
calcite-design-system/packages/calcite-components/src/utils/locale.ts
Lines 139 to 142 in 8dcfbd1
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Calcite package
Esri team
ArcGIS Urban
The text was updated successfully, but these errors were encountered: