We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d3b3d commit 28c380cCopy full SHA for 28c380c
usehooks.com/src/components/CountdownBanner.astro
@@ -298,7 +298,7 @@ import Button from "../components/Button.astro";
298
hours: String(hours).padStart(2, "0"),
299
minutes: String(minutes).padStart(2, "0"),
300
seconds: String(seconds).padStart(2, "0"),
301
- hasExpired: delta <= 0,
+ hasExpired: targetUTC < currentUTC,
302
};
303
}
304
</script>
0 commit comments