Skip to content

EspoCRM – Open Source CRM Application

calendar month title fix

Yuri Kuznetsovb9b71b2015f6
diff --git a/client/modules/crm/src/views/calendar/calendar.js b/client/modules/crm/src/views/calendar/calendar.js
index b63257d8ee..3fb8e9cbee 100644
--- a/client/modules/crm/src/views/calendar/calendar.js
+++ b/client/modules/crm/src/views/calendar/calendar.js
@@ -453,7 +453,7 @@ class CalendarView extends View {
start + this.rangeSeparator + end :
start;
} else {
- title = moment(view.currentStart).format(format);
+ title = this.dateToMoment(view.currentStart).format(format);
}
if (this.options.userId && this.options.userName) {