Add ERROR logging on invalid date and publishdate
Add ERROR logging on invalid date and publishdate

Having correct dates is important in Hugo. Previously date parsing errors were swallowed, leading to confusing results.

This commit adds ERROR logging when date or publishdate in front matter cannot be parsed into a time.Time.

mdhender/hugo,fhergomez/hugo,bramp/hugo,soundrussian/hugo,ffrizzo/hugo,kujohn/hugo,melo/hugo,gohugoio/hugo,digitalcraftsman/hugo,sprig/hugo,anthonyfok/hugo,bogem/hugo,badoet/hugo,tjyang/hugo,badoet/hugo,mdhender/hugo,kujohn/hugo,soundrussian/hugo,abourget/hugo,fedelibre/hugo,jygastaud/hugo,ffrizzo/hugo,halostatue/hugo,derekperkins/hugo,MarkDBlackwell/hugo,tatsushid/hugo,tischda/hugo,melo/hugo,gohugoio/hugo,mdhender/hugo,ryanclarke/hugo,tatsushid/hugo,tubo028/hugo,vbatoufflet/hugo,fedelibre/hugo,vbatoufflet/hugo,ifraixedes/hugo,fhergomez/hugo,bogem/hugo,mayah/hugo,MarkDBlackwell/hugo,anthonyfok/hugo,halostatue/hugo,anthonyfok/hugo,derekperkins/hugo,digitalcraftsman/hugo,mitchchn/hugo,tubo028/hugo,mitchchn/hugo,coderzh/hugo,sprig/hugo,ifraixedes/hugo,Zenithar/hugo,jygastaud/hugo,abourget/hugo,fedelibre/hugo,fedelibre/hugo,mayah/hugo,mdhender/hugo,gohugoio/hugo,tischda/hugo,coderzh/hugo,ryanclarke/hugo,Zenithar/hugo,bramp/hugo,tjyang/hugo