From 6bc3aa5d2b6ee18af85b0f26bdb78abd9d1ab765 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Wed, 5 Nov 2025 19:42:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=AD=9F=E5=8A=A0=E6=8B=89=E9=9D=A9?= =?UTF-8?q?=E5=91=BD=E6=97=A5):=20=E5=80=92=E8=AE=A1=E6=97=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E4=B8=BA=E5=AD=9F=E5=8A=A0=E6=8B=89=E7=9A=84=E6=97=A9?= =?UTF-8?q?=E4=B8=8A6=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Activities/RevolutionUnityDay/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Activities/RevolutionUnityDay/index.vue b/src/views/Activities/RevolutionUnityDay/index.vue index 307cbaf..686f5eb 100644 --- a/src/views/Activities/RevolutionUnityDay/index.vue +++ b/src/views/Activities/RevolutionUnityDay/index.vue @@ -635,7 +635,7 @@ const closedPopup = () => { historyShow.value = false } -// 获取沙特下周一早上六点的时间戳 +// 获取孟加拉下周一早上六点的时间戳 const getNextMondayInSaudi = () => { const now = new Date() const utcDay = now.getUTCDay() //获取UTC星期几,0(周日)-6(周六) @@ -645,7 +645,7 @@ const getNextMondayInSaudi = () => { const nextMondayUTC = new Date(now) //以当前UTC时间为基准,而不是重新获取 nextMondayUTC.setUTCDate(now.getUTCDate() + daysToAdd) //增加到下周一那天 - nextMondayUTC.setUTCHours(3, 0, 0, 0) // 设置为沙特下周一当天早上6点(北京时间3点) + nextMondayUTC.setUTCHours(0, 0, 0, 0) // 设置为孟加拉下周一当天早上6点(北京时间3点) return nextMondayUTC.getTime() //得到下周一00:00:00.000的时间戳 }