[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

DateTime.strptime NoMethodError

Sydney Moisi

11/6/2006 4:13:00 AM

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-....

1 Answer

Jano Svitok

11/6/2006 3:59:00 PM

0

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-....

try adding require 'date'