On Feb 24, 10:49 am, Maurício Linhares <[email protected]>
wrote:
> What happens if you do this:
>
> puts( Time.parse("2008-02-24 4 pm").utc )
>
> Do you get the correct UTC time?
>
Brigado Mauricio for the replay, yep,
this was on scraped data, ashamed to say that I wasn't checking its
integrity,
when i got the data like this: yyyy-mm-ddhh_mm (without space between
dd and hh),
interestingly enough, after 2,200 parses the parser starts the 2 hour
drift,
(I am making sure that the date string comes properly formatted now)
but still, an interesting 'feature'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to