mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-10 08:10:52 +00:00
4.14.1
* Fixed: Bug with Time of Day logic when Start is greater than End.
This commit is contained in:
parent
62bb6440f3
commit
b53e0e6427
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ export const Time = {
|
|||
const d = new Date,
|
||||
v = d.getHours() * 60 + d.getMinutes();
|
||||
|
||||
return v <= start || v >= end;
|
||||
return v >= start || v <= end;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue