forked from upstream-mirrors/OpenTracks
Time on list of tracks uses 24 hour format. Fixes #1140.
This commit is contained in:
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user