diff --git a/web/app.js b/web/app.js index 4eaa11f..ad50075 100644 --- a/web/app.js +++ b/web/app.js @@ -630,7 +630,7 @@ var App = { format_pace: function (d) { const pace = (1000.0 / 60.0) * (1.0 / d); const minutes = Math.floor(pace); - const seconds = (pace - minutes) * 60.0; + const seconds = Math.floor((pace - minutes) * 60.0); return `${minutes}:${seconds.toFixed(0).toString().padStart(2, "0")} min/km`; },