Fix/tweak display time output
This commit is contained in:
parent
7a7883d359
commit
1e461e96eb
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ fn seconds_to_time(seconds: f64) -> String {
|
|||
} else {
|
||||
result = String::new();
|
||||
}
|
||||
if new_seconds < 10.0 {
|
||||
if new_seconds < 10.0 && seconds >= 0.0 {
|
||||
result.push('0');
|
||||
}
|
||||
result.push_str(&new_seconds.to_string());
|
||||
|
|
Loading…
Reference in a new issue