fix bug related to inconsistent fallback date parsing in different javascript Date implementations