This commit is contained in:
aozhiwei 2022-09-21 14:43:56 +08:00
parent efd3fea4d8
commit 2c88d816e4
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1 @@
exports.TIME_ZONE = 0;

View File

@ -1,6 +1,8 @@
const app = require('j7/app');
const utils = require('j7/utils');
const constant = require('../constant');
const YESTERDAY_HERO_NUM = 1000;
const YESTERDAY_GUN_NUM = 1000;
@ -9,6 +11,8 @@ class Fragment {
async start() {
while (true) {
const nowTime = utils.getUtcTime();
const daySeconds = utils.getDaySeconds(nowTime, constant.TIME_ZONE);
const hourSeconds = utils.getHourSeconds(nowTime, constant.TIME_ZONE);
}
}