Fix date parsing

re: activesupport 4.1.0