Timezone in RoR

From Kolmisoft Wiki
Revision as of 12:20, 3 October 2008 by Mindaugas (talk | contribs)
Jump to navigationJump to search

If time is not displayed correctly in GUI and date command in SSH shows correct time, then:

  • In file /home/mor/config/environment.rb write:
ENV['TZ'] = 'Europe/Vilnius'

Off course change timezone value to correct one.

  • Restart Apache