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
{{ message }}
Repository navigation
DatePicker module: system locale not reflected in how RNW apps format or translate dates #4791
Run the DatePicker example in Playground\RNTester or create a test app using the date picker component.
Expected Behavior
Changing Regional Format in the Windows Settings app should affect how the underlying CalendatDatePicker XAML control formats dates, as well as their display language.
Actual Behavior
No change can be observed in the RN app, even though they're reflected in the shell.
(Disregard the date format settings in the screenshot of my demo - I commented out the props they controlled)
Sounds like there is some level of involvement for the behalf of datepicker, where it has bugs that are not internationlization ready. We should be crisp about where the platform is not following through, versus where the module is ready.
The intl JavaScript module is supposed to expose much of this kind of functionality. It should be available on Chakra at least (pending on Hermes).
We need to figure out what level of support we can give to improve the community date picker versus supporting it as it is. If there's something that's not working just on Windows versus not working on Android/iOS.
Igor Klemenski (@rectified95) can you clarify what's Windows-only here and what's lacking in the control as a whole?
(for the latter maybe we open issues on that repo?)
Have a PR out removing DatePicker. I would guess this issue still affects the community module version. Potentially affects what to do with this issue.
The core control (DatePickerIOS / DatePickerAndroid) is ejected (they warn but they work), we have a Windows only API DatePicker.
We want to redirect folks to the community module; this yellow boxes in RNW 0.64, so we should leave enough time for people to see it before we remove it from RNW core. Slate it for removal in 0.66?
Activity
[-]Describe the problem[/-][+]system locale not reflected in how RNW apps format or translate dates [/+]chrisglein commentedon May 7, 2020
Sounds like there is some level of involvement for the behalf of datepicker, where it has bugs that are not internationlization ready. We should be crisp about where the platform is not following through, versus where the module is ready.
The
intlJavaScript module is supposed to expose much of this kind of functionality. It should be available on Chakra at least (pending on Hermes).We need to figure out what level of support we can give to improve the community date picker versus supporting it as it is. If there's something that's not working just on Windows versus not working on Android/iOS.
Igor Klemenski (@rectified95) can you clarify what's Windows-only here and what's lacking in the control as a whole?
(for the latter maybe we open issues on that repo?)
rectified95 commentedon May 28, 2020
Sorry this one slipped through the cracks. Commenting to prevent the issue getting closed. Assigning to myself while I look into
intl.2 remaining items
NickGerleman commentedon Apr 28, 2021
Have a PR out removing DatePicker. I would guess this issue still affects the community module version. Potentially affects what to do with this issue.
asklar commentedon Apr 29, 2021
The core control (DatePickerIOS / DatePickerAndroid) is ejected (they warn but they work), we have a Windows only API DatePicker.
We want to redirect folks to the community module; this yellow boxes in RNW 0.64, so we should leave enough time for people to see it before we remove it from RNW core. Slate it for removal in 0.66?
asklar commentedon Apr 29, 2021
Igor Klemenski (@rectified95) can you check if the community module has this issue filed and if so, close this one.