Fix incorrect metadata-date parsing.