You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
Turn the "Use 24-hour format" device setting off on your test device
Create a TimePicker
Change the format sometime later on (e.g. when the user clicks a button)
Expected Behavior
TimePicker displays time in new format
Actual Behavior
TimePicker still displays time in original format
Basic Information
Version with issue: Xamarin.Forms 2.5.0.91635
Proposed Fix
I can see the problem in Xamarin.Forms.Platform.Android.TimePickerRenderer. The format is cached in OnElementChanged then never gets updated. Presumably, the format just needs to be refreshed in OnElementPropertyChanged if FormatProperty has changed.
The text was updated successfully, but these errors were encountered:
Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues
Steps to Reproduce
Expected Behavior
TimePicker displays time in new format
Actual Behavior
TimePicker still displays time in original format
Basic Information
Proposed Fix
I can see the problem in Xamarin.Forms.Platform.Android.TimePickerRenderer. The format is cached in OnElementChanged then never gets updated. Presumably, the format just needs to be refreshed in OnElementPropertyChanged if FormatProperty has changed.
The text was updated successfully, but these errors were encountered: