I recommend you store the data in your database in UTC format. You
can always reformat the data being displayed to local time zone.
Have a look at the tzinfo plugin for proper conversion to local time
with day light savings, etc
http://tzinfo.rubyforge.org/doc/files/README.html
.
On Oct 21, 11
any one help me?
--~--~-~--~~~---~--~~
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 [EMAIL
2 matches
Mail list logo