0.03: Fix distance >=10 km (fix #529)

pull/532/head
Gordon Williams 2020-07-17 08:11:31 +01:00
parent 5983566782
commit 81bca5ca04
3 changed files with 3 additions and 2 deletions

View File

@ -1447,7 +1447,7 @@
"name": "BangleRun",
"shortName": "BangleRun",
"icon": "banglerun.png",
"version": "0.02",
"version": "0.03",
"description": "An app for running sessions.",
"tags": "run,running,fitness,outdoors",
"allow_emulator": false,

View File

@ -1,2 +1,3 @@
0.01: First release
0.02: Bugfix time: Reset minutes to 0 when hitting 60
0.03: Fix distance >=10 km (fix #529)

View File

@ -179,7 +179,7 @@ function formatClock(date) {
}
function formatDistance(m) {
return ('0' + (m / 1000).toFixed(2) + ' km').substr(-7);
return (m / 1000).toFixed(2) + ' km';
}
function formatTime(s) {