added a error for incorrect date parsing to track down a bug