diff --git a/app/views/events/index.html.haml b/app/views/events/index.html.haml index 74e36210..067e65ac 100644 --- a/app/views/events/index.html.haml +++ b/app/views/events/index.html.haml @@ -1,6 +1,3 @@ --# Otherwise the simple calendar could be empty during the first hours of a new month -- Time.zone = 'Paris' - %form.region_selector - if params[:start_date] = hidden_field_tag :start_date, params[:start_date] diff --git a/config/application.rb b/config/application.rb index 5873aa9c..e2ec89ed 100644 --- a/config/application.rb +++ b/config/application.rb @@ -15,6 +15,7 @@ module AgendaDuLibreRails # 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)' + config.time_zone = 'Paris' # 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]