Culture settings not working in timepicker
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
The input for time picker always shows the Amercan time format with PM and AM and not for example the German one.
The images show the Windows and Android UIs


### Steps to Reproduce
1. Create a new MAUI default app.
2. Add a TimePicker control
3. Start the app in a German environment.
### Link to public reproduction project repository
https://github.com/FrankPohl/InputTest.git
### Version with bug
7.0 (current)
### Last version that worked well
Unknown/Other
### Affected platforms
Android, Windows
### Affected platform versions
Windows SDK 10.0.19041.0 and Android Framework 29.0
### Did you find any workaround?
No workaround found.
Setting the UI and/or Thread culture in code behind does not help. Setting the Format property doesn't help either.
### Relevant log output
_No response_
Contributor guide
Research direction
Start by running the linked InputTest reproduction project in a German environment with a MAUI TimePicker on Android and Windows. Compare the control's displayed time format with the German platform UI; the issue is done when the TimePicker no longer defaults to AM/PM formatting in that locale.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- desktop-dev, frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100