Merge pull request #83 from treuherz/patch-1

Fix typo in "unrecognised format" error
This commit is contained in:
Aaron Raddon 2019-04-25 14:16:23 -07:00 committed by GitHub
commit 2df4713d07
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 {