mirror of
https://github.com/araddon/dateparse.git
synced 2025-01-19 03:06:11 +08:00
de-spam logs
This commit is contained in:
parent
0dca814ad3
commit
51d5271755
@ -161,7 +161,6 @@ iterRunes:
|
|||||||
}
|
}
|
||||||
} else if len(datestr) == len("2006-01-02T15:04:05") {
|
} else if len(datestr) == len("2006-01-02T15:04:05") {
|
||||||
if t, err := time.Parse("2006-01-02T15:04:05", datestr); err == nil {
|
if t, err := time.Parse("2006-01-02T15:04:05", datestr); err == nil {
|
||||||
u.Errorf("wat? %v", t)
|
|
||||||
return t, nil
|
return t, nil
|
||||||
} else {
|
} else {
|
||||||
return time.Time{}, err
|
return time.Time{}, err
|
||||||
|
Loading…
Reference in New Issue
Block a user