Change date parsing module to one without a massive memory leak