From b47bd97e9e6fa7f3cdf27ddab5fec5435d993f06 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Sun, 15 Mar 2015 20:28:23 -0700 Subject: [PATCH] fix message details 12-hour time formatting Resolves #2695 // FREEBIE --- src/org/thoughtcrime/securesms/util/DateUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/util/DateUtils.java b/src/org/thoughtcrime/securesms/util/DateUtils.java index 0e3f7b4153..641bfb75e8 100644 --- a/src/org/thoughtcrime/securesms/util/DateUtils.java +++ b/src/org/thoughtcrime/securesms/util/DateUtils.java @@ -82,7 +82,7 @@ public class DateUtils extends android.text.format.DateUtils { if (DateFormat.is24HourFormat(context)) { dateFormatPattern = "MMM d, yyyy HH:mm:ss zzz"; } else { - dateFormatPattern = "MMM d, yyyy hh:mm:ssa zzz"; + dateFormatPattern = "MMM d, yyyy hh:mm:ss a zzz"; } return new SimpleDateFormat(dateFormatPattern, Locale.getDefault());