react-native-date-picker
react-native-date-picker copied to clipboard
[Bug]: Accessibilities language not working
Describe the bug
Even if we switch languages, the time and minutes are still displayed in English.
Expected behavior
For example, when I switched the German language, it now says 10 o'clock and 15 minutes rather than 10 Uhr und 15 Minuten, which is similar to what Apple Calendar says.
To Reproduce
<DatePicker
date={date}
mode="time"
onDateChange={selectedDate => {
onSelectTime(selectedDate);
}}
locale={"de-DE"}
accessible
accessibilityLanguage={"de-DE"}
accessibilityRole="timer"
/>
Operating System
- [x] Android
- [x] iOS
React Native Version
0.76.9
Expo Version (if applicable)
52.0.46
react-native-date-picker version
5.0.12
React Native Architecture
- [ ] Old Architecture (Paper)
- [x] New Architecture (Fabric)
Relevant log output
Same issue here