make runtime 5 hours 30 minutes WOW

This commit is contained in:
CeciliaKelley33Mm 2024-10-13 12:16:21 +07:00
parent 0a4449494b
commit 0cfae32a68
2 changed files with 1 additions and 3 deletions

View file

@ -3,7 +3,7 @@ const [startDate, startMonth, startYear, startHours, startMinutes] = startTimeSt
const targetTime = new Date()
targetTime.setUTCFullYear(startYear, startMonth - 1, startDate)
targetTime.setUTCHours(startHours + 5, startMinutes, 0, 0)
targetTime.setUTCHours(startHours + 5, startMinutes + 30, 0, 0)
const currentTime = new Date()
currentTime.setUTCSeconds(0) // we don't want precise time

View file

@ -60,8 +60,6 @@ requestWebhook() {
}
check() {
# checkTime.js adds the start time by 5 hours
node checkTime.js $START_TIME
exitCode=$?