Skip to content

Commit 60af40a

Browse files
committed
Formatting nit
1 parent 3698598 commit 60af40a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

neo4j/internal/bolt/hydrator.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,8 @@ func (h *hydrator) dateTimeNamedZone(n uint32) interface{} {
758758
h.unp.Next()
759759
nanos := h.unp.Int()
760760
h.unp.Next()
761-
zone := h.unp.String() // time.Time in local timezone, e.g. 15th of June 2020, 15:30 in Paris (UTC+2h)
761+
zone := h.unp.String()
762+
// time.Time in local timezone, e.g. 15th of June 2020, 15:30 in Paris (UTC+2h)
762763
unixTime := time.Unix(seconds, nanos)
763764
// time.Time computed in UTC timezone, e.g. 15th of June 2020, 13:30 in UTC
764765
utcTime := unixTime.UTC()

0 commit comments

Comments
 (0)