updating controller date parsing and views helpers