File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
main/java/org/neo4j/driver/internal/messaging
test/java/org/neo4j/driver/v1/util Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -278,12 +278,12 @@ private Value unpackDate() throws IOException
278
278
279
279
private Value unpackTime () throws IOException
280
280
{
281
- long nanoOfDayUtc = unpacker .unpackLong ();
281
+ long nanoOfDayLocal = unpacker .unpackLong ();
282
282
int offsetSeconds = Math .toIntExact ( unpacker .unpackLong () );
283
283
284
- Instant instant = Instant . ofEpochSecond ( 0 , nanoOfDayUtc );
284
+ LocalTime localTime = LocalTime . ofNanoOfDay ( nanoOfDayLocal );
285
285
ZoneOffset offset = ZoneOffset .ofTotalSeconds ( offsetSeconds );
286
- return value ( OffsetTime .ofInstant ( instant , offset ) );
286
+ return value ( OffsetTime .of ( localTime , offset ) );
287
287
}
288
288
289
289
private Value unpackLocalTime () throws IOException
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public class Neo4jRunner
52
52
{
53
53
private static Neo4jRunner globalInstance ;
54
54
55
- private static final String DEFAULT_NEOCTRL_ARGS = "-e 3.2.7 " ;
55
+ private static final String DEFAULT_NEOCTRL_ARGS = "-e 3.3.4 " ;
56
56
public static final String NEOCTRL_ARGS = System .getProperty ( "neoctrl.args" , DEFAULT_NEOCTRL_ARGS );
57
57
public static final URI DEFAULT_URI = URI .create ( "bolt://localhost:7687" );
58
58
public static final BoltServerAddress DEFAULT_ADDRESS = new BoltServerAddress ( DEFAULT_URI );
You can’t perform that action at this time.
0 commit comments