Fixed an issue with date parsing in firefox.