]> source.dussan.org Git - redmine.git/commitdiff
Restores local time zone for timestamps for 1.x compatibility (#10996).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 26 May 2012 09:12:04 +0000 (09:12 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 26 May 2012 09:12:04 +0000 (09:12 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9719 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/application.rb

index 1397b7721375ace7c7db2e4f83bb7eaaf0f76df7..1e9234dc426a1eb594a43a44599f9f3968cc5167 100644 (file)
@@ -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.