From d2db2252c93e22cc49bcccf62b70dac36b592a89 Mon Sep 17 00:00:00 2001 From: Harsh Mahajan <127186841+HarshMN2345@users.noreply.github.com> Date: Thu, 17 Jul 2025 12:51:02 +0530 Subject: [PATCH] add >= back in function --- src/routes/(console)/bottomAlerts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(console)/bottomAlerts.ts b/src/routes/(console)/bottomAlerts.ts index b0f7e3634..1f01bae41 100644 --- a/src/routes/(console)/bottomAlerts.ts +++ b/src/routes/(console)/bottomAlerts.ts @@ -88,5 +88,5 @@ export function isPromoLive( const targetString = `${date}T${time}:00`; const target = new Date(new Date(targetString).toLocaleString('en-US', { timeZone })); - return isSameDay(now, target) && now > target; + return isSameDay(now, target) && now >= target; }