时间问题
This commit is contained in:
@@ -305,7 +305,7 @@ class Time {
|
||||
public getAfterDayWithHour(day: number = 0, hour = REFRESH_TIME, minute = 0, seconds = 0) {
|
||||
let t = this._setHour(this.time.getTime(), hour, minute, seconds, 0);
|
||||
// console.log(t.getTime(), this.time.getTime());
|
||||
if(this.time.getTime() >= t.getTime()) {
|
||||
if(this.time.getTime() > t.getTime()) {
|
||||
let timestamp = t.getTime() + (day + 1) * this.DAY_TO_MS;
|
||||
return this._returnResult(timestamp);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user