mainsail-crew / mainsail

Mainsail is the popular web interface for managing and controlling 3D printers with Klipper.
https://docs.mainsail.xyz
GNU General Public License v3.0
1.63k stars 341 forks source link

fix: fix duration format function #1894

Closed meteyou closed 1 month ago

meteyou commented 1 month ago

Description

This PR fix the format function for durations (like total print time). This commit should fix round issues like 7:60 which should be 8:00.

Related Tickets & Documents

none

Mobile & Desktop Screenshots/Recordings

none

[optional] Are there any post-deployment tasks we need to perform?

none