mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: timezone!
This commit is contained in:
1 parent
21311f3b12
commit
e9703fc53d
1 file changed
+1
-1
@@ -122,7 +122,7 @@ export function addBottomModalAlerts() {
|
||||
export function isPromoLive(
|
||||
date: string,
|
||||
time: string,
|
||||
timeZone: string = 'Asia/Kolkata'
|
||||
timeZone: string = 'Europe/Paris'
|
||||
): boolean {
|
||||
const now = new Date();
|
||||
const targetString = `${date}T${time}:00`;
|
||||
|
||||
Reference in new issue
Block a user