In our Ionic 6 app we have a bit of code that uses AlertController to prompt the user for a date:
const alert = await this.alertController.create({
subHeader: `Please enter ${item.childName}'s date of birth:`,
inputs: [
{
name: "dob",
type: "date",
},
]
On some Android test devices once we have selected the date from the calendar picker it is displayed correctly in the Alert’s input box in dd/mm/yyy format but on many other Android devices we see it displayed in American format (mm/dd/yy). On all iOS devices we are seeing the dd/mm/yy format which is what we want. Does anyone have any idea what might affect this display format on Android devices? (nothing I have changed in the device settings seems to have any effect)