hswg: log the error message on 📅 parse fail

This commit is contained in:
Přemysl Eric Janouch 2022-02-28 10:43:39 +01:00
parent 7a2ea02c8d
commit 6353dd156a
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 0 deletions

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