chore: add bug comment for #17

This commit is contained in:
Christoph J. Scherr 2024-07-19 09:58:54 +02:00
parent a5bd54a8e0
commit edd1751a98
1 changed files with 2 additions and 0 deletions

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 =