Skip to content

Commit

Permalink
feat(timer40k): fix timer day count
Browse files Browse the repository at this point in the history
  • Loading branch information
sabinmarcu committed Aug 11, 2024
1 parent 3abb6fa commit c4b27d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/timer40k/app/Display.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<>
Expand Down

0 comments on commit c4b27d5

Please sign in to comment.