show mode of timebar with extra info #18

Merged
cscherrNT merged 10 commits from feat/mode-show into devel 2024-07-19 10:06:09 +02:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 4ec8be1e1b - Show all commits

View File

@ -151,6 +151,8 @@ pub fn timebarw_label<'a>(
),
};
let until = last_reset
// BUG: seconds are sometimes a little too much, for
// example with `-o` #17
.checked_add_signed(len.into())
.expect("could not calculate when the countdown finishes");
let timestamp_until: String =