mirror of
https://github.com/Frail7487Real/laughing-spork.git
synced 2024-11-13 22:24:54 -05:00
make runtime 5 hours 30 minutes WOW
This commit is contained in:
parent
0a4449494b
commit
0cfae32a68
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
2
loop.sh
2
loop.sh
|
@ -60,8 +60,6 @@ requestWebhook() {
|
|||
}
|
||||
|
||||
check() {
|
||||
# checkTime.js adds the start time by 5 hours
|
||||
|
||||
node checkTime.js $START_TIME
|
||||
exitCode=$?
|
||||
|
||||
|
|
Loading…
Reference in a new issue