DateTime.strptime NoMethodError

Hello,

I've just upgraded my ruby version from 1.8.2 to 1.8.5 and I got a
NoMethodError using the DateTime.strptime method. It worked fine with
1.8.2. Is there anything changed with this method in 1.8.5?

Thanks
Sydney

···

--
Posted via http://www.ruby-forum.com/.

try adding require 'date'

···

On 11/6/06, Sydney Moisi <moisi_fr@yahoo.fr> wrote:

Hello,

I've just upgraded my ruby version from 1.8.2 to 1.8.5 and I got a
NoMethodError using the DateTime.strptime method. It worked fine with
1.8.2. Is there anything changed with this method in 1.8.5?

Thanks
Sydney

--
Posted via http://www.ruby-forum.com/\.