Difference between revisions of "Timezone in RoR"
From Kolmisoft Wiki
Jump to navigationJump to search
(New page: 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 timezon...) |
|||
Line 1: | Line 1: | ||
If time is not displayed correctly in GUI and date command in SSH shows correct time, then: | If time is not displayed correctly in GUI and date command in SSH shows correct time, then: | ||
* In file /etc/environment.rb write: | * In file '''/etc/environment.rb''' write: | ||
ENV['TZ'] = 'Europe/Vilnius' | ENV['TZ'] = 'Europe/Vilnius' |
Revision as of 16:17, 17 February 2008
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