mirror of
https://github.com/araddon/dateparse.git
synced 2024-11-10 11:51:54 +08:00
Fix typo in "unrecognised format" error
This commit is contained in:
parent
74dc0e29b0
commit
3f294935c0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user