Fix typo in "unrecognised format" error

This commit is contained in:
Eli Treuherz 2019-04-25 09:12:58 +01:00 committed by GitHub
parent 74dc0e29b0
commit 3f294935c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1510,7 +1510,7 @@ iterRunes:
p.format = []byte("2006")
return p, nil
} else if len(datestr) < 4 {
return nil, fmt.Errorf("unrecognized format, to short %v", datestr)
return nil, fmt.Errorf("unrecognized format, too short %v", datestr)
}
if !t.IsZero() {
if loc == nil {