chore: add bug comment for #17

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

View File

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