This looks like an instance of this bug:

https://rails.lighthouseapp.com/projects/8994/tickets/2946

The quick way to fix it in this case is to convert the incoming
datetime objects to UTC in timeline_created_products.

--Matt Jones

On Sep 2, 10:23 pm, JL Smith <autige...@gmail.com> wrote:
> I'm having some trouble getting activerecord to adhere to my timezone
> settings when finding objects based on its created_at field.  I
> understand that datetime fields are stored in UTC but it doesn't
> convert the datetimes when it performs the lookup.  I basically
> followed Railscasts #106 and I'm using Authlogic for authentication.
> Thanks for any help.
>
> http://gist.github.com/180080
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to