remove one line date parsing function