[FIX] Clean up.

bzr revid: vda@tinyerp.com-20111018114635-3f9sp6th19rl0d35
This commit is contained in:
Vaibhav (OpenERP)
2011-10-18 17:16:35 +05:30
parent 4401818e43
commit 2f7fa8d2c1
@@ -181,8 +181,7 @@ openerp.web_calendar.CalendarView = openerp.web.View.extend({
}
if (this.fields[this.date_start]['type'] == 'date') {
var formated_date;
try{
try {
evt[this.date_start] = openerp.web.str_to_date(evt[this.date_start]).set({hour: 9}).toString('yyyy-MM-dd HH:mm:ss');
} catch(e) {}
try {