DateTime.strptime NoMethodError

S

Sydney Moisi

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
 
J

Jan Svitok

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

try adding require 'date'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,619
Members
45,314
Latest member
HugoKeogh

Latest Threads

Top