From 20545be3dbaead42fa836a1a029a90f197cc864b Mon Sep 17 00:00:00 2001 From: Kersten Jeremy Date: Mon, 5 May 2014 17:43:43 +0200 Subject: [PATCH] [REF] Replace temp name by real name bzr revid: jke@openerp.com-20140505154343-7r6t02n51ts8m8j9 --- addons/web_calendar/static/src/js/web_calendar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web_calendar/static/src/js/web_calendar.js b/addons/web_calendar/static/src/js/web_calendar.js index 83039900a7f..23b11254b53 100644 --- a/addons/web_calendar/static/src/js/web_calendar.js +++ b/addons/web_calendar/static/src/js/web_calendar.js @@ -514,8 +514,8 @@ openerp.web_calendar = function(instance) { date_stop = this.date_stop ? instance.web.auto_str_to_date(evt[this.date_stop]) : null; } else { - date_start = instance.web.auto_str_to_date(evt[this.date_start].split(' ')[0],'zstart'); - date_stop = this.date_stop ? instance.web.auto_str_to_date(evt[this.date_stop].split(' ')[0],'zstart') : null; //.addSeconds(-1) : null; + date_start = instance.web.auto_str_to_date(evt[this.date_start].split(' ')[0],'start'); + date_stop = this.date_stop ? instance.web.auto_str_to_date(evt[this.date_stop].split(' ')[0],'start') : null; //.addSeconds(-1) : null; } if (this.info_fields) {