Skip to content

[iOS] Fix TimePicker AM/PM frequently changes when the app is closed and reopened#31066

Merged
kubaflo merged 12 commits intodotnet:inflight/currentfrom
devanathan-vaithiyanathan:fix-30837
Mar 5, 2026
Merged

[iOS] Fix TimePicker AM/PM frequently changes when the app is closed and reopened#31066
kubaflo merged 12 commits intodotnet:inflight/currentfrom
devanathan-vaithiyanathan:fix-30837

Conversation

@devanathan-vaithiyanathan
Copy link
Copy Markdown
Contributor

@devanathan-vaithiyanathan devanathan-vaithiyanathan commented Aug 7, 2025

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Issue Details

The TimePicker was not showing AM/PM correctly after restarting the app when using the format "HH:mm tt".

Description of Change

We now use the same culture for both the display text and the TimePicker control to ensure consistency. When the format includes AM/PM, we use the en-US culture. For 24-hour formats, we use the de-DE culture.

Issues Fixed

Fixes #30837
Fixes #33722

Tested the behavior in the following platforms.

  • Android
  • Windows
  • iOS
  • Mac
Before After
iOS
iOS-Before.mov
iOS
iOS-After.mov

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-controls-datetimepicker DatePicker, TimePicker community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration platform/ios s/agent-changes-requested AI agent recommends changes - found a better alternative or issues s/agent-fix-pr-picked AI could not beat the PR fix - PR is the best among all candidates s/agent-gate-failed AI could not verify tests catch the bug s/agent-reviewed PR was reviewed by AI agent workflow (full 4-phase review) s/agent-suggestions-implemented Maintainer applies when PR author adopts agent's recommendation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maui 10 iOS TimePicker Strange Characters in place of AM/PM [iOS] TimePicker AM/PM frequently changes when the app is closed and reopened

9 participants