Skip to content

Commit

Permalink
Merge pull request #63 from tiarasjec/counter
Browse files Browse the repository at this point in the history
update counter
  • Loading branch information
anishshobithps authored May 8, 2024
2 parents 3230e6d + 1338de4 commit 5e9c8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widgets/Countdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ShiftingCountdown = ({ targetDate }: ShiftingCountdownProps) => {

const handleCountdown = () => {
const end = new Date(targetDate);

end.setHours(end.getHours() + 9);
const now = new Date();

const distance = +end - +now;
Expand Down

0 comments on commit 5e9c8e2

Please sign in to comment.