From edd1751a98eb7f5a1959a93041a0d7a7a515cf1c Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Fri, 19 Jul 2024 09:58:54 +0200 Subject: [PATCH] chore: add bug comment for #17 --- src/clock/ui.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/clock/ui.rs b/src/clock/ui.rs index 0027ab0..91453b0 100644 --- a/src/clock/ui.rs +++ b/src/clock/ui.rs @@ -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 =