From 83d471ddda13d39258ac2c213063a2a2a7d78f06 Mon Sep 17 00:00:00 2001 From: echarp Date: Sat, 23 Aug 2014 00:28:14 +0200 Subject: [PATCH] Gestion des time zone et de l'affichage principal du calendrier mensuel --- app/views/events/index.html.haml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/views/events/index.html.haml b/app/views/events/index.html.haml index 6c554658..84f017cf 100644 --- a/app/views/events/index.html.haml +++ b/app/views/events/index.html.haml @@ -1,3 +1,6 @@ +-# Seems necessary, for the time being, to ensure calendar is changing days correctly +- Time.zone = 'Paris' + = render '/regions/selector' = render '/lugs/search' @@ -44,6 +47,9 @@ %strong.city= event.city.gsub '-', ' ' = event.title +-# Required, or else all events will be displaced by 2 hours +- Time.zone = 'UTC' + .formats %em.fa.fa-rss =raw t '.calendar_in',