diff --git a/src/web/WorkerWaiter.mjs b/src/web/WorkerWaiter.mjs index 2867b906..91f01b5d 100644 --- a/src/web/WorkerWaiter.mjs +++ b/src/web/WorkerWaiter.mjs @@ -356,7 +356,7 @@ class WorkerWaiter { bakingComplete() { this.setBakingStatus(false); let duration = new Date().getTime() - this.bakeStartTime; - duration = duration.toString() + "ms"; + duration = duration.toLocaleString() + "ms"; const progress = this.getBakeProgress(); let width = progress.total.toString().length; @@ -365,7 +365,7 @@ class WorkerWaiter { } width = width < 2 ? 2 : width; - const totalStr = progress.total.toString().padStart(width, " ").replace(/ /g, " "); + const totalStr = progress.total.toLocaleString().padStart(width, " ").replace(/ /g, " "); const durationStr = duration.padStart(width, " ").replace(/ /g, " "); const msg = `Total: ${totalStr}
Time: ${durationStr}`;