Fixed some tests

This commit is contained in:
Thomas Pelletier
2021-03-01 20:50:18 -05:00
parent c77f1d815c
commit bf051f1718
4 changed files with 30 additions and 26 deletions
+5
View File
@@ -770,6 +770,11 @@ func (p parser) parseDateTime(b []byte) ([]byte, error) {
localTime.Nanosecond *= 10
localTime.Nanosecond += int(b[idx] - '0')
idx++
if idx < len(b) {
break
}
if !isDigit(b[idx]) {
break
}