mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
add >= back in function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user