On Wed, Oct 20, 2010 at 11:21 PM, Todd Fisher <li...@ruby-forum.com> wrote:

>
> ruby-1.9.2-p0  => Sun 10 January 2010
> ruby-1.8.7-p302 => Fri 01 October 2010
>
> One solution for Ruby 1.9.2 would be to redefine Date.parse as:
>
> class Date
>  def self.parse(input)
>    Date.strptime(input, "%m/%d/%Y")
>  end
> end
>

You might also want to look at http://github.com/clemens/delocalize

-- 
Erol M. Fornoles
http://erolfornoles.posterous.com
http://github.com/Erol
http://twitter.com/erolfornoles
http://ph.linkedin.com/in/erolfornoles

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to