Skip to content

Commit b210fd1

Browse files
jadenhoump911de
authored andcommitted
Fix LocalTimeCodec array OID.
[resolves #555]
1 parent 25f807d commit b210fd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/r2dbc/postgresql/codec/LocalTimeCodec.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
import java.time.ZoneOffset;
2929

3030
import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIME;
31-
import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIMETZ_ARRAY;
31+
import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIME_ARRAY;
3232

3333
final class LocalTimeCodec extends AbstractTemporalCodec<LocalTime> {
3434

3535
LocalTimeCodec(ByteBufAllocator byteBufAllocator) {
36-
super(LocalTime.class, byteBufAllocator, TIME, TIMETZ_ARRAY, LocalTime::toString);
36+
super(LocalTime.class, byteBufAllocator, TIME, TIME_ARRAY, LocalTime::toString);
3737
}
3838

3939
@Override

0 commit comments

Comments
 (0)