Skip to content

Commit 2df4713

Browse files
authored
Merge pull request #83 from treuherz/patch-1
Fix typo in "unrecognised format" error
2 parents 74dc0e2 + 3f29493 commit 2df4713

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

parseany.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ iterRunes:
15101510
p.format = []byte("2006")
15111511
return p, nil
15121512
} else if len(datestr) < 4 {
1513-
return nil, fmt.Errorf("unrecognized format, to short %v", datestr)
1513+
return nil, fmt.Errorf("unrecognized format, too short %v", datestr)
15141514
}
15151515
if !t.IsZero() {
15161516
if loc == nil {

0 commit comments

Comments
 (0)