fix message details 12-hour time formatting

Resolves #2695
// FREEBIE
This commit is contained in:
Jake McGinty 2015-03-15 20:28:23 -07:00
parent 4099303d1f
commit b47bd97e9e

View File

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