fix message details 12-hour time formatting

Resolves #2695
// FREEBIE
pull/1/head
Jake McGinty 10 years ago
parent 4099303d1f
commit b47bd97e9e

@ -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());

Loading…
Cancel
Save