diff --git a/util/Util.js b/util/Util.js index 671e3b0c..f8e1c2e5 100644 --- a/util/Util.js +++ b/util/Util.js @@ -129,7 +129,7 @@ module.exports = class Util { static today(timeZone) { const now = new Date(); - if (timeZone) now.setUTCHours(timeZone); + if (timeZone) now.setUTCHours(now.getUTCHours() + timeZone); now.setHours(0); now.setMinutes(0); now.setSeconds(0);