We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3724465 commit 695252eCopy full SHA for 695252e
1 file changed
src/test/skript/tests/misc/timezone.sk
@@ -11,5 +11,5 @@ test "timezone syntaxes":
11
set {_d.in.nyc} to date(2030, 6, 4, 4, 23)
12
set {_d.in.istanbul} to date(2030, 6, 4, 11, 23)
13
14
- assert {_d} in timezone "America/New_York" is {_d.in.nyc} with "returned incorrect date for New York"
15
- assert {_d} in timezone "Europe/Istanbul" is {_d.in.istanbul} with "returned incorrect date for Istanbul"
+ assert difference between ({_d} in timezone "America/New_York") and {_d.in.nyc} < 1 second with "returned incorrect date for New York"
+ assert difference between ({_d} in timezone "Europe/Istanbul") and {_d.in.istanbul} < 1 second with "returned incorrect date for Istanbul"
0 commit comments