Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1296912
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Nov 17, 11:14 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Wed, Nov 19, 11:14 PM (19 h, 45 m)
Engine
blob
Format
Raw Data
Handle
294323
Attached To
rWEBDNS WebDNS (edet4)
View Options
diff --git a/config/application.rb b/config/application.rb
index e924377..7b3c038 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -1,23 +1,22 @@
require File.expand_path('../boot', __FILE__)
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Base
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
- # 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.
- # config.time_zone = 'Central Time (US & Canada)'
+ # Store/Read localtime from the database
+ config.active_record.default_timezone = :local
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
end
end
Event Timeline
Log In to Comment