Project

General

Profile

Actions

Defect #10577

open

Cannot get redmine to store datetimes as UTC into database

Added by M T over 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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.

No data to display

Actions

Also available in: Atom PDF