Defect #10577
Cannot get redmine to store datetimes as UTC into database
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Database | |||
Target version: | - | |||
Resolution: | Affected version: |
Description
Enabling the following setting in environment.rb seems to make no difference? Redmine continues to push datetimes into the database using local timezone. Is something else in redmine overriding the default way that rails persists datetimes?
config.active_record.default_timezone = :utc
Environment: ruby 1.8.7, rails 2.3.14, postgres 9.1.3 - native ruby adapter. Same behaviour observed with jruby and the postgres jdbc driver.