diff --git a/client/modules/crm/src/views/calendar/calendar.js b/client/modules/crm/src/views/calendar/calendar.js index af8821ba4c..0bb103a0f3 100644 --- a/client/modules/crm/src/views/calendar/calendar.js +++ b/client/modules/crm/src/views/calendar/calendar.js @@ -930,12 +930,9 @@ class CalendarView extends View { }); }, datesSet: () => { - const date = this.getDateTime().fromIso(this.calendar.getDate().toISOString()); - const m = this.dateToMoment(this.calendar.getDate()); + this.date = this.dateToMoment(this.calendar.getDate()).format('YYYY-MM-DD'); - this.date = date; - - this.trigger('view', m.format('YYYY-MM-DD'), this.mode); + this.trigger('view', this.date, this.mode); }, events: (info, callback) => { const dateTimeFormat = this.getDateTime().internalDateTimeFormat;