Move date parsing to individual files