Skip to content

Commit

Permalink
Update utils.go
Browse files Browse the repository at this point in the history
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
  • Loading branch information
Code-Hex and methane committed May 28, 2020
1 parent 0e3cd50 commit 32ad982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Expand Up @@ -181,7 +181,7 @@ func parseDateTime(b []byte, loc *time.Location) (time.Time, error) {
if b[19] != '.' {
return time.Time{}, fmt.Errorf("bad value for field: `%c`", b[19])
}
nsec, err := parseByteNanoSec(b)
nsec, err := parseByteNanoSec(b[20:])
if err != nil {
return time.Time{}, err
}
Expand Down

0 comments on commit 32ad982

Please sign in to comment.