stopw: remove padding from minute formatting

pull/2697/head
Rob Pilling 2023-04-19 17:42:36 +01:00
parent 1893345d37
commit a467a81c33
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
if (mins < 60) if (mins < 60)
return format === StopWatchFormat.HMS return format === StopWatchFormat.HMS
? `${pad2(mins)}m${pad2(seconds)}s` ? `${mins.toFixed(0)}m${pad2(seconds)}s`
: `${mins.toFixed(0)}:${pad2(seconds)}`; : `${mins.toFixed(0)}:${pad2(seconds)}`;
let hours = mins / 60; let hours = mins / 60;