support various formats for published date, fixes #5