fixed date parsing for new format