Open CarsonRedeye opened 5 years ago
I think it could be fixed be reversing the order to setIsAmPm first in SingleDateAndTimePickerDialog:
if (defaultDate != null) {
picker.setDefaultDate(defaultDate);
}
if (isAmPm != null) {
picker.setIsAmPm(isAmPm);
}
Steps to reproduce:
Expected: dialog shows with time set as 22:00 Actual: dialog shows with time set as 10:00