[Rails] Question about handling timezones
Hi,
My doubt is about how to make request to mysql using a different time
than utf with this I try to say something like this
User request for registers from 2012-02-13, his timezone is cst.
Mysql works with utc so if a register was created after 6 p.m cst time
it will be saved with the date like 2012-02-14 00:10:... so I'm
wondering what I can do to show the user all the registers created in
the date he asked depending in the timezone he is working.
--
Posted via http://www.ruby-forum.com/.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home