You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋
i was working on #119 (yes the PR isn't dead lol) and a new test error was throw to me by skript-parser. Test who throw the error is ExprDateTodayAt. After a bit of tests, it appear that it do this only between 0:00 and 1:00 (12am and 1am)
How to reproduct:
set your computer hour to 0:35 for example
run unit tests (gradlew test)
skript-parser version: from master branch
Java version: 11.8.0
Error:
This is caused by the SkriptParser class. For the today() method, it takes the ZONE_ID static field into account (which is Greenwich Mean Time for all tests). For the now() method though, the system time zone is used.
I assume you live in the GMT+1 region somewhere, which is the reason this fails for you between 12PM and 1AM.
👋
i was working on #119 (yes the PR isn't dead lol) and a new test error was throw to me by skript-parser. Test who throw the error is ExprDateTodayAt. After a bit of tests, it appear that it do this only between 0:00 and 1:00 (12am and 1am)
How to reproduct:
set your computer hour to 0:35 for example
run unit tests (
gradlew test
)skript-parser version: from master branch
Java version: 11.8.0
Error:
Edit: this seem to be a know bug, according to the test code. No way to fix that ?
The text was updated successfully, but these errors were encountered: