Skip to content

Commit

Permalink
Change timezone to CET in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dheyman committed Mar 21, 2024
1 parent a90f7e7 commit 7ba81d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ private static Timestamp getTimestampFromFormat(
tz = sessionTimeZone;
}
SnowflakeDateTimeFormat formatter = SnowflakeDateTimeFormat.fromSqlFormat(rawFormat);
return formatter.parse(value, tz, 0, true).getTimestamp();
return formatter.parse(value, tz, 0, false).getTimestamp();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ public void shouldGetTimestampForDifferentType() {

private Timestamp getFromType(int type, String value, TimeZone explicitTimezone) {
return SqlInputTimestampUtil.getTimestampFromType(
type, value, mockSession, TimeZone.getTimeZone("UTC"), explicitTimezone);
type, value, mockSession, TimeZone.getTimeZone("CET"), explicitTimezone);
}
}

0 comments on commit 7ba81d5

Please sign in to comment.