mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
fix: remove dbg
Some checks are pending
Lockbud / lockbud (push) Waiting to run
Rust / fmt (push) Waiting to run
Rust / test (push) Waiting to run
Rust / clippy (macos-latest) (push) Waiting to run
Rust / clippy (ubuntu-latest) (push) Waiting to run
Rust / check (macos-latest) (push) Waiting to run
Rust / check (ubuntu-latest) (push) Waiting to run
Rust / doc (push) Waiting to run
Typo / typo (push) Waiting to run
Some checks are pending
Lockbud / lockbud (push) Waiting to run
Rust / fmt (push) Waiting to run
Rust / test (push) Waiting to run
Rust / clippy (macos-latest) (push) Waiting to run
Rust / clippy (ubuntu-latest) (push) Waiting to run
Rust / check (macos-latest) (push) Waiting to run
Rust / check (ubuntu-latest) (push) Waiting to run
Rust / doc (push) Waiting to run
Typo / typo (push) Waiting to run
This commit is contained in:
parent
1a81636865
commit
07ac351764
1 changed files with 0 additions and 3 deletions
|
@ -83,11 +83,8 @@ impl HumanTime {
|
||||||
let days = mdays / 86400;
|
let days = mdays / 86400;
|
||||||
let day_secs = mdays % 86400;
|
let day_secs = mdays % 86400;
|
||||||
let hours = day_secs / 3600;
|
let hours = day_secs / 3600;
|
||||||
dbg!(&day_secs);
|
|
||||||
let minutes = day_secs % 3600 / 60;
|
let minutes = day_secs % 3600 / 60;
|
||||||
dbg!(&minutes);
|
|
||||||
let seconds = day_secs % 60;
|
let seconds = day_secs % 60;
|
||||||
dbg!(&seconds);
|
|
||||||
let mut started = false;
|
let mut started = false;
|
||||||
let mut string = String::new();
|
let mut string = String::new();
|
||||||
string.push_str(&Self::plural(&mut started, "year", years, separator));
|
string.push_str(&Self::plural(&mut started, "year", years, separator));
|
||||||
|
|
Loading…
Reference in a new issue