TimePicker Displays AM/PM Text in Different Languages with hh:mm tt Format on .NET 9 SDK (iOS Only) #26885
Labels
area-controls-picker
Picker
platform/iOS 🍎
potential-regression
This issue described a possible regression on a currently supported version., verification pending
t/bug
Something isn't working
Description
Here’s the reformatted version:
Issue Description: AM/PM Text in TimePicker Control on iOS
When using the hh:mm tt format for the TimePicker control in a .NET MAUI application, the AM/PM text appears randomly in different languages after selecting a value from the picker.
Reference Videos
Time.picker.with.NET.8.SDK.working.fine.mp4
https://drive.google.com/file/d/1ow8Y4VGr_2sHRwEr8NzkloaC5CboLkI_/view?usp=sharing
Steps to Reproduce
Steps to Reproduce the Issue with the .NET MAUI TimePicker Control
Issue Details
Time picker with .NET 9 SDK (having an issue with AM/PM text) video link:
https://drive.google.com/file/d/1ow8Y4VGr_2sHRwEr8NzkloaC5CboLkI_/view?usp=sharing
Link to public reproduction project repository
https://github.com/dotnet/maui-samples/tree/main/9.0
Version with bug
9.0.0 GA
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.100 SR10
Affected platforms
iOS
Affected platform versions
iOS 17, 18
Did you find any workaround?
No, I did not found any solution yet.
I tried to set TimeFormat = CultureInfo.CurrentCulture.DateTimeFormat.ShortTimePattern for Timepicket format and also set CultureInfo to (en-US) for the sample app but still not working.
Relevant log output
The text was updated successfully, but these errors were encountered: