mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
calendar reRender date fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user