Skip to content

Commit d1b97a6

Browse files
committed
Merge branch '51-stable' into 52-stable
2 parents 04ff639 + 51369d4 commit d1b97a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/arjdbc/postgresql/PostgreSQLRubyJdbcConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ protected void setTimeParameter(final ThreadContext context,
353353
final int index, IRubyObject value,
354354
final IRubyObject attribute, final int type) throws SQLException {
355355
// to handle more fractional second precision than (default) 59.123 only
356-
String timeStr = DateTimeUtils.timeString(context, value, DateTimeZone.UTC, true);
356+
String timeStr = DateTimeUtils.timeString(context, value, getDefaultTimeZone(context), true);
357357
statement.setObject(index, timeStr, Types.OTHER);
358358
}
359359

0 commit comments

Comments
 (0)