Setting up timezone on Heroku instance using heroku gem (command line) {% highlight ruby %} heroku config:add TZ=America/Edmonton …. heroku console

Time.now => … -0700 … {% endhighlight %}

Heroku apparently accepts zoneinfo timezones.

It works, thank you for the useful post. I set for Europe/London.

Yeah thanks for this tip. Very handy.

Awesome, this made my night much shorter!

thanks! you saved me a lot of trouble playing with rails config timezone!

Great, i will try, thank you Tamer ;)

Hey Pete – Same problem :D

sweet, all of the timezone calculations were giving me headaches ;)