Time on list of tracks uses 24 hour format. Fixes #1140.

This commit is contained in:
Román Ginés
2022-03-02 08:34:59 +01:00
committed by Román Martínez
parent 4df0e2a65c
commit ada0f88538
@@ -111,7 +111,7 @@ public class ListItemUtils {
String timeValue = null; String timeValue = null;
if (!isRecording) { if (!isRecording) {
dateValue = StringUtils.formatDateTodayRelative(context, offsetDateTime); dateValue = StringUtils.formatDateTodayRelative(context, offsetDateTime);
timeValue = offsetDateTime.format(DateTimeFormatter.ofPattern("hh:mm")); timeValue = offsetDateTime.format(DateTimeFormatter.ofPattern("HH:mm"));
} }
setTextView(context, dateTextView, dateValue, hasPhoto); setTextView(context, dateTextView, dateValue, hasPhoto);
setTextView(context, timeTextView, timeValue, hasPhoto); setTextView(context, timeTextView, timeValue, hasPhoto);