[Rails] How to Set Time Zone to Japan Standard Time (JST)

Tadashi Shigeoka ·  Wed, November 23, 2011

In Rails, I researched how to set the time zone from Coordinated Universal Time (UTC) to Japan Standard Time (JST), so here’s a memo.

■ config/environments/production.rb

# time zone
config.time_zone = 'Tokyo'

・Reference: タイムゾーンはどのように設定しておこうか… - ザリガニが見ていた…。

That’s all from the Gemba.