hswg: log the error message on 📅 parse fail

This commit is contained in:
2022-02-28 10:43:39 +01:00
parent 7a2ea02c8d
commit 6353dd156a

View File

@@ -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
}
}