Timezone in RoR

From KolmiSoft Wiki

Jump to: navigation, search

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

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

Off course change timezone value to correct one.

  • Restart Apache
Personal tools