Skip to content

Commit 32ad982

Browse files
Code-Hexmethane
andauthored
Update utils.go
Co-authored-by: Inada Naoki <[email protected]>
1 parent 0e3cd50 commit 32ad982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func parseDateTime(b []byte, loc *time.Location) (time.Time, error) {
181181
if b[19] != '.' {
182182
return time.Time{}, fmt.Errorf("bad value for field: `%c`", b[19])
183183
}
184-
nsec, err := parseByteNanoSec(b)
184+
nsec, err := parseByteNanoSec(b[20:])
185185
if err != nil {
186186
return time.Time{}, err
187187
}

0 commit comments

Comments
 (0)