diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-02 18:18:06 +0700 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-02 18:18:06 +0700 |
| commit | 3ac24a5a5f1f06193ef8377ec1619cb477996d4c (patch) | |
| tree | 3c872502a51749ec92f8cb3194165de65cd36cbe /frontend | |
| parent | df5d3b1222c34a107d8322fc4fcf2d6405848be6 (diff) | |
confused
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/main.js b/frontend/main.js index 742ec8b..4a62ec2 100644 --- a/frontend/main.js +++ b/frontend/main.js @@ -139,7 +139,7 @@ async function updateMachines() { } const now = Date.now(); const end = Date.parse(status[2][i]); - machine_txts[i].innerHTML = Math.ceil((end - now) / 60000).toString() + " min(s) left"; + machine_txts[i].innerHTML = Math.ceil((end - now) / 60000000).toString() + " min(s) left"; } else if (status[0][i] == "FINISHED") { if ((i + 1) % 2 == 0) { machine_imgs[i].src = "/assets/img/washer_clothes.png"; |
