Skip to content

Commit

Permalink
Fix LocalTimeCodec array OID.
Browse files Browse the repository at this point in the history
[resolves #555]
  • Loading branch information
jadenhou authored and mp911de committed Nov 8, 2022
1 parent 25f807d commit b210fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/r2dbc/postgresql/codec/LocalTimeCodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
import java.time.ZoneOffset;

import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIME;
import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIMETZ_ARRAY;
import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIME_ARRAY;

final class LocalTimeCodec extends AbstractTemporalCodec<LocalTime> {

LocalTimeCodec(ByteBufAllocator byteBufAllocator) {
super(LocalTime.class, byteBufAllocator, TIME, TIMETZ_ARRAY, LocalTime::toString);
super(LocalTime.class, byteBufAllocator, TIME, TIME_ARRAY, LocalTime::toString);
}

@Override
Expand Down

0 comments on commit b210fd1

Please sign in to comment.