Skip to content

Commit ce4a3cf

Browse files
committed
update test
1 parent 708fa49 commit ce4a3cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/skript/tests/misc/timezone.sk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ test "timezone syntaxes":
77
assert timezone "hello!" is invalid with "single timezone should've been invalid"
88
assert timezones ("hello!", "Asia/Tokyo") are invalid with "multiple timezones should've been invalid"
99

10-
set {_d} to date(2030, 6, 4, 11, 23)
11-
set {_d.in.nyc} to date(2030, 6, 4, 4, 23)
12-
set {_d.in.istanbul} to date(2030, 6, 4, 11, 23)
10+
set {_d} to date(2030, 6, 4, 7, 23)
11+
set {_d.in.nyc} to date(2030, 6, 4, 3, 23)
12+
set {_d.in.istanbul} to date(2030, 6, 4, 10, 23)
1313

1414
assert difference between ({_d} in timezone "America/New_York") and {_d.in.nyc} < 1 second with "returned incorrect date for New York"
1515
assert difference between ({_d} in timezone "Europe/Istanbul") and {_d.in.istanbul} < 1 second with "returned incorrect date for Istanbul"

0 commit comments

Comments
 (0)