summaryrefslogtreecommitdiffstats
path: root/config/application.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-26 09:12:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-26 09:12:04 +0000
commit84084b01689718ea901dcd66d66ab676c7bc4790 (patch)
tree8cad5f123abcb413441ed167bade33253752df67 /config/application.rb
parent3a4a708d51a099afd153b4cc3e09b1037d901eb3 (diff)
downloadredmine-84084b01689718ea901dcd66d66ab676c7bc4790.tar.gz
redmine-84084b01689718ea901dcd66d66ab676c7bc4790.zip
Restores local time zone for timestamps for 1.x compatibility (#10996).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9719 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r--config/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index 1397b7721..1e9234dc4 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -26,6 +26,7 @@ module RedmineApp
config.active_record.observers = :message_observer, :issue_observer, :journal_observer, :news_observer, :document_observer, :wiki_content_observer, :comment_observer
config.active_record.store_full_sti_class = true
+ config.active_record.default_timezone = :local
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.