hswg: log the error message on 📅 parse fail
This commit is contained in:
parent
7a2ea02c8d
commit
6353dd156a
@ -128,6 +128,7 @@ func (e *Entry) Published() *time.Time {
|
||||
} else if t, err := time.Parse("2006-01-02", d); err == nil {
|
||||
return &t
|
||||
} else {
|
||||
log.Printf("%s: date: %s\n", e.PathSource, err)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user