fix iso date parsing in old browsers