From 709d8bb0d99dab01b9272d1f53660f46e8ca6072 Mon Sep 17 00:00:00 2001 From: echarp Date: Mon, 18 Aug 2014 18:33:56 +0200 Subject: [PATCH] Essai de correction de time zone --- app/views/events/index.html.haml | 3 --- config/application.rb | 3 --- 2 files changed, 6 deletions(-) diff --git a/app/views/events/index.html.haml b/app/views/events/index.html.haml index c5d2588b..6c554658 100644 --- a/app/views/events/index.html.haml +++ b/app/views/events/index.html.haml @@ -1,6 +1,3 @@ --# Seems necessary, for the time being, to ensure calendar is changing days correctly -- Time.zone = 'Paris' - = render '/regions/selector' = render '/lugs/search' diff --git a/config/application.rb b/config/application.rb index 30ce3641..c4ea4551 100644 --- a/config/application.rb +++ b/config/application.rb @@ -19,9 +19,6 @@ module AgendaDuLibreRails # Run "rake -D time" for a list of tasks for finding time zone names. # Default is UTC. # config.time_zone = 'Central Time (US & Canada)' - # This parameter is required, or it will be overridden by events/show.haml - # where Time.zone = 'Paris' - config.time_zone = 'UTC' # The default locale is :en and all translations from # config/locales/*.rb,yml are auto loaded.