Fix hrs and min printing

This commit is contained in:
Nicolas 2024-12-30 12:03:11 +01:00 committed by GitHub
parent 3a5224e440
commit 2cbe41ad14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -334,7 +334,7 @@ async fn start() {
} }
fn secs_to_hrs_min_sec(secs: i32) -> String { fn secs_to_hrs_min_sec(secs: i32) -> String {
format!("{:0>2}:{:0>2}:{:0>2}", secs / 360, secs / 60, secs % 60) format!("{:0>2}:{:0>2}:{:0>2}", secs / 3600, (secs % 3600) / 60, secs % 60)
} }
// !cargo b --release // !cargo b --release