delegate date parsing to model