Force Application’s Date Time Picker to follow 24 hours format instead of overriding the device setting.

Description: I am working on one react native project and using a “react-native-date-picker“ library(https://github.com/henninghall/react-native-date-picker) for the Date Time picker selection purpose. The library is providing two properties to enforce the date-time picker is24hourSource and locale. As the library suggests if I set is24hourSource="locale" and locale="en_GB" then the Date time picker will use the 24-hour format.

**Problem: ** Till iOS 16.4 the above configuration works well but from 16.5 it’s breaking and overriding the device settings. I have also open an issue in Library’s GitHub page(https://github.com/henninghall/react-native-date-picker/issues/665).

Can anyone please help me out on this?

project configuration:

react: 18.2.0

react-native: 0.71.4,

react-native-date-picker: 4.2.13

This issue is resolved in the update version 16.6 or later.

Force Application’s Date Time Picker to follow 24 hours format instead of overriding the device setting.
 
 
Q