diff --git a/src/Stopwatch.rs b/src/Stopwatch.rs index 9c27641..2bf83e4 100644 --- a/src/Stopwatch.rs +++ b/src/Stopwatch.rs @@ -88,12 +88,12 @@ impl Stopwatch{ timeRes += 1; } //Check if the duration needs reduced to minutes - if(duration >= 1000.0){ + if(duration >= 120.0){ duration /= 60.0; timeRes = TimeResolution::MINUTE as i32; } //Check if the duration needs reduced to hours - if(duration >= 1000.0){ + if(duration >= 60.0){ duration /= 60.0; timeRes = TimeResolution::HOUR as i32; }