Tsuyoshi Sawada wrote: > `'02/29/2012'` clearly does not match `'%m/%d'`. What else would you expect than an argument error? >> Date.strptime('01/01/2014', '%m/%d') => #<Date: 2014-01-01 ((2456659j,0s,0n),+0s,2299161j)> I...cwoodcox (Corey Woodcox)
I'm experiencing an issue parsing dates and leap days. When the format string includes the year, everything works as expected: ~~~ >> Date.strptime('02/29/2012', '%m/%d/%Y') => #<Date: 2012-02-29 ((2455987j,0s,0n),+0s,2299161j)> ...cwoodcox (Corey Woodcox)