From c4b27d52bc74bcf22a457d9ef2f1111ad4f9c6dd Mon Sep 17 00:00:00 2001 From: Sabin Marcu Date: Sun, 11 Aug 2024 21:26:01 +0000 Subject: [PATCH] feat(timer40k): fix timer day count --- apps/timer40k/app/Display.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/timer40k/app/Display.tsx b/apps/timer40k/app/Display.tsx index 8e73903..ab0632d 100644 --- a/apps/timer40k/app/Display.tsx +++ b/apps/timer40k/app/Display.tsx @@ -37,7 +37,7 @@ export function Display({ const toRender = (isReleased ? yes : no) as any; const text = (isReleased ? String.raw`It's released, what are you doing here?` - : `Coming out in ${Number.parseInt(`${diff}`, 10)} days` + : `Coming out in ${Number.parseInt(`${0 - diff}`, 10)} days` ) return ( <>