ActiveSupport String#to_time

Hi guys,

I’m using ActiveResource in my project and I have some troubles with
convertions from String to Date.

I have a String date like this: “2012-02-22T09:37:09-02:00”. And Rails
is converting this string to: 2012-02-22 11:37:09 -0200.

Actually I hope that Rails convert this string to date 2012-02-22
09:37:09 -0200. I found this commit


that changed this behavior.

I cannot understand what is happening.

Someone can help me?

Thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs