Ruby on Rails Sunday, July 27, 2014

On Jul 27, 2014, at 7:49 AM, Colin Law <clanlaw@gmail.com> wrote:

> Not addressing the 'local time' issue, but if you know what time zone
> you want it in then you can use, for example
> my_timestamp.in_time_zone("London")

And if you don't want to change the RoR default, you can think up your own name and add your own setting to the config.

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/F1BFC5F5-5BFE-4241-AE5D-35D89216EA7F%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment