Is there a reason why AR doesn't pass the guess year flag to parsedate when casting columns? Seems to me, in the context of a DB date field, you would always want the 4 digit year.Right now, if you shove a date like: 07/18/06 to Rails, MySQL will get 0006-07-16, but ParseDate.parsedate('07/18/06', true) will create the right 4-digit year. Just curious…
I've never seen any of the adapters actually return a value like this for a date field? Perhaps it's just never come up. Have you hit this in production? -- Cheers Koz _______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
