Mongoid UTC Times

By default Mongoid will store your Time objects in your local timezone. It's not made clear on the installation page, but all you have to do is add "use_utc: true" to the defaults in your mongoid.yml configuration file. Yes Virginia, it's that simple.

Are you a Git user? Let me help you make project management with Git simple. Checkout Gitpilot.

-JP

If you made it this far, you should follow me on Twitter.

-JP

Want to test-drive Bitcoin without any risk? Check out my bitcoin wallet Coinbolt. It includes test coins for free.

comments powered by Disqus