New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RadialTimePickerDialogFragment AM/PM #243
Comments
Hello @paxxux Indeed we actually do not correctly preset 24h-dateFormat
We will soon release a new version with a better management of 24h-format, |
Great! Thank you! |
Hi @paxxux
|
Hi, Thanks for the hint! Works great!
Why don't you use DialogFragment.getContext() instead of taking a Context argument? I am not really sure, but is there a case of more than one Context in one app? |
1/ I didn't set it by default because I was waiting for Context But you are right DialogFragment.getContext() solve all of this. Thank you |
Thank you too :-) |
@paxxux |
Great :) just updated. Works fine! |
Hi,
The RadialTimePickerDialogFragment does not change to AM/PM if I set my device to non 24-Hour format.
It would be easy to verify, if the device is in 24-Hour mode or not:
boolean b = DateFormat.is24HourFormat(context);
I would suggest to fall back on the device time format, rather than setting it (mIs24HourMode = true;) to a default value.
I cannot see any possibility to override mIs24HourMode in RadialTimePickerDialogFragment.
Or do I just miss something?
Greetings,
paxxux
The text was updated successfully, but these errors were encountered: