feat(孟加拉革命日): 倒计时调整为孟加拉的早上6点

This commit is contained in:
hzj 2025-11-05 19:42:40 +08:00
parent 6f11e65cb1
commit 6bc3aa5d2b

View File

@ -635,7 +635,7 @@ const closedPopup = () => {
historyShow.value = false
}
//
//
const getNextMondayInSaudi = () => {
const now = new Date()
const utcDay = now.getUTCDay() //UTC0()-6()
@ -645,7 +645,7 @@ const getNextMondayInSaudi = () => {
const nextMondayUTC = new Date(now) //UTC
nextMondayUTC.setUTCDate(now.getUTCDate() + daysToAdd) //
nextMondayUTC.setUTCHours(3, 0, 0, 0) // 63
nextMondayUTC.setUTCHours(0, 0, 0, 0) // 63
return nextMondayUTC.getTime() //00:00:00.000
}