Fixed date parsing for IE