bug
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
const outSTimes = new Date(this.info.exitBegintime.replaceAll('-', '/')).getTime()
|
const outSTimes = new Date(this.info.exitBegintime.replaceAll('-', '/')).getTime()
|
||||||
const outETimes = new Date(this.info.exitEndtime.replaceAll('-', '/')).getTime()
|
const outETimes = new Date(this.info.exitEndtime.replaceAll('-', '/')).getTime()
|
||||||
|
|
||||||
if (this.info.clockRange > this.distance && (!this.info.intoClock && (times > inSTimes && times < inETimes)) || this.info.exitClock && (times > outSTimes && times < outETimes)) {
|
if (this.info.clockRange > this.distance && (!this.info.intoClock && (times > inSTimes && times < inETimes)) || !this.info.exitClock && (times > outSTimes && times < outETimes)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user