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'
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
DateTime.strptime NoMethodError
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password