improved publish date parsing