Fixed a bug where editing a task could cause am/pm to switch if task was due in hour 12

pull/14/head
Sam Bosley 13 years ago
parent 09dc2b7eb3
commit 95826ddab6

@ -162,6 +162,7 @@ public class AstridTimePicker extends LinearLayout {
if (!is24Hour) {
if (hour == 0) {
hour = 12;
} else if (hour == 12) {
pm = true;
} else if (hour > 12) {
hour -= 12;

Loading…
Cancel
Save