forked from upstream-mirrors/OpenTracks
Add fractional seconds to timestamp in GPX, KML, CSV, and TCX.
Move FileUtils.FILE_TIMSTAMP_FORMAT to StringUtils.java Clean up StringUtils.java - add formatDateTimeIso8601 - add formatDistance - add formatSpeed - rename all methods to either formatXXX or getXXX
This commit is contained in:
@@ -207,9 +207,8 @@ public class SearchActivity extends ListActivity {
|
||||
resultMap.put(DESCRIPTION_FIELD, track.getDescription());
|
||||
resultMap.put(CATEGORY_FIELD, track.getCategory());
|
||||
resultMap.put(TIME_FIELD, StringUtils.formatDateTime(this, stats.getStartTime()));
|
||||
resultMap.put(STATS_FIELD,
|
||||
StringUtils.formatTimeDistance(this, stats.getTotalDistance(), stats.getTotalTime(),
|
||||
metricUnits));
|
||||
resultMap.put(STATS_FIELD, StringUtils.formatTimeDistance(
|
||||
this, stats.getTotalTime(), stats.getTotalDistance(), metricUnits));
|
||||
resultMap.put(TRACK_ID_FIELD, track.getId());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user